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
attachShadow must throw a TypeError when mode is omitted #311
Comments
We should also throw when the value of |
I think the correct way to do this is to make mode |
Actually the spec already takes care of this. When you convert a JS value to a ShadowRootMode, per IDL, first you do a ToString, and if it does not match |
But it could still be omitted from the dictionary, right? |
Yeah, I just re-read, and I was right the first time. Without So yeah, just add |
I thought it's required by default unless |
No, dictionary members are always optional unless prefixed with |
attachShadow
must throw a TypeError when "mode" is omitted inShadowRootInit
as previously agreed in F2F.The text was updated successfully, but these errors were encountered: