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

Encoding: align encodeInto() test with reality #14775

Merged
merged 3 commits into from
Jan 10, 2019
Merged

Conversation

annevk
Copy link
Member

@annevk annevk commented Jan 9, 2019

While IDL said this should throw, that was in error: whatwg/webidl#605.

While IDL said this should throw, that was in error: whatwg/webidl#605.
@annevk annevk requested review from ricea and removed request for inexorabletash January 9, 2019 18:38
encoding/encodeInto.any.js Outdated Show resolved Hide resolved
encoding/encodeInto.any.js Outdated Show resolved Hide resolved
@wpt-pr-bot
Copy link
Collaborator

There are no reviewers for this pull request besides its author. Please reach out on W3C's irc server (irc.w3.org, port 6665) on channel #testing (web client) to get help with this. Thank you!

@ricea
Copy link
Contributor

ricea commented Jan 10, 2019

Interesting. My slow and dumb polyfill didn't pass this test, but I assumed it was just because I wasn't trying hard enough.

I will retest once you've fixed @Honry's comments.

@annevk
Copy link
Member Author

annevk commented Jan 10, 2019

Thanks @Honry! Out-of-band Henri told me that it didn't work in workers, so I've fixed that too. And Domenic helped me figure out a way to make object destructuring work without a leading let/const. 😊

@hsivonen
Copy link
Member

With the latest changes changes to the test, my implementation of the feature passes the test, so the detachment part is now reality-aligned at least for Gecko purposes.

@annevk annevk merged commit 56e5ad1 into master Jan 10, 2019
@annevk annevk deleted the annevk/encodeInto-and-IDL branch January 10, 2019 08:59
@ricea
Copy link
Contributor

ricea commented Jan 10, 2019

Retested. All tests pass now, including in a worker.

gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
… r=hsivonen.

web-platform-tests/wpt#14505
web-platform-tests/wpt#14775

UltraBlame original commit: 3c73631c8237077acb3795e51a2a2ea6016247df
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
… r=hsivonen.

web-platform-tests/wpt#14505
web-platform-tests/wpt#14775

UltraBlame original commit: 3c73631c8237077acb3795e51a2a2ea6016247df
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 3, 2019
… r=hsivonen.

web-platform-tests/wpt#14505
web-platform-tests/wpt#14775

UltraBlame original commit: 3c73631c8237077acb3795e51a2a2ea6016247df
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.

7 participants