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
"opener" setter says to return things, but setters can't return stuff #3904
Comments
This section is written in JavaScript style, where you return completion records (unless you use ! or ?). So if OrdinaryDefineOwnProperty returns an abrupt completion, this will too. |
Hmm. That was totally non-obvious, but OK. |
In particular, what does "rethrow any exceptions" mean, then? In a context where completion records are the return type there are no "exceptions". |
Yeah, that's pretty silly, you're right. It's straddling two styles. Probably simplest to update to say "Perform" instead of "Return the result of calling". |
https://html.spec.whatwg.org/multipage/browsers.html#dom-opener setter step 2 says:
but it's a setter; it can't return anything.
The text was updated successfully, but these errors were encountered: