-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
CreateDataProperty is sometimes called with ? but can't throw #703
Comments
|
In that case, the far more common use of CreateDataProperty() without either ! or ? should be fixed. |
I have checked all (49) usages of |
@shvaikalesh any user-provided object, including "this" values, could be a Proxy. |
All |
sorry for the confusion, I meant first argument of |
Does the HTML spec use that abstract operation at all? |
@ljharb it does at the end of https://html.spec.whatwg.org/multipage/infrastructure.html#structuredclone preceded by |
There are currently 4 remaining uses of
Since
I'm going to close it assuming the latter; but will happily reopen it if needed. |
HTML seems to have changed to use |
https://tc39.github.io/ecma262/#sec-internalizejsonproperty, https://tc39.github.io/ecma262/#sec-createdatapropertyorthrow, and a few other places use "? CreateDataProperty(...)", but its definition appears to use just
true
andfalse
return values to say whether it has succeeded.This is related to #253.
The text was updated successfully, but these errors were encountered: