Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't distinguish between unspecified and empty DomQuadInit fields #353

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Manishearth
Copy link
Member

Fixes #349

Unsure if this should be null or an empty dict, I feel both have the same effect.

r? @zcorpan cc @bzbarsky

@tabatkins
Copy link
Member

Yes, as far as I can tell, null is allowed and does what you want here.

@bzbarsky
Copy link

It's not actually 100% clear that null is allowed, since these are IDL values, not ES values... I'm going to make this clearer in whatwg/webidl#750, hopefully, after which = {} will be allowed and do the right thing.

@bzbarsky
Copy link

bzbarsky commented Jul 1, 2019

The Web IDL change has landed.

Base automatically changed from master to main February 2, 2021 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOMQuadInit at assumes that its DOMPointInit members get default values
5 participants