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

WebIDL: [PutForwards] should not throw if [[Set]] has failed #21039

Merged

Conversation

shvaikalesh
Copy link
Member

Copy link
Member

@yuki3 yuki3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Member

@TimothyGu TimothyGu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, doesn't look like Chrome or Firefox implements Throw = true. Maybe the better fix here would be to change the spec to say

Perform ? Set(Q, forwardId, V, false).

instead.

TimothyGu added a commit to TimothyGu/webidl that referenced this pull request Jan 14, 2020
This is what browsers actually implement. Tested by
web-platform-tests/wpt#21039.
@TimothyGu
Copy link
Member

See whatwg/webidl#832.

bzbarsky pushed a commit to whatwg/webidl that referenced this pull request Jan 14, 2020
This is what browsers actually implement. Tested by
web-platform-tests/wpt#21039.
This tests whatwg/webidl#832.

Co-authored-by: Timothy Gu <timothygu99@gmail.com>
@TimothyGu TimothyGu changed the title WebIDL: [PutForwards] should throw if [[Set]] has failed WebIDL: [PutForwards] should not throw if [[Set]] has failed Jan 15, 2020
@TimothyGu
Copy link
Member

Modified to account for whatwg/webidl#832.

@TimothyGu TimothyGu assigned TimothyGu and unassigned yuki3 Jan 15, 2020
@TimothyGu TimothyGu merged commit 585514a into web-platform-tests:master Jan 15, 2020
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.

None yet

4 participants