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

Check for transferable detachedness after serializing #3557

Merged
merged 2 commits into from
Mar 21, 2018

Conversation

annevk
Copy link
Member

@annevk annevk commented Mar 11, 2018

Since serializing can make a transferable detached, it seems better to throw for that later.

This matches Chrome/Safari. Firefox ends up with a detached transferable. Edge crashes.

See https://bugs.chromium.org/p/chromium/issues/detail?id=816447 for more context.

Tests: ... (should update web-platform-tests/wpt#9672)


/acknowledgements.html ( diff )
/structured-data.html ( diff )

Since serializing can make a transferable detached, it seems better to throw for that later.

This matches Chrome/Safari. Firefox ends up with a detached transferable. Edge crashes.

See https://bugs.chromium.org/p/chromium/issues/detail?id=816447 for more context.

Tests: ... (should update web-platform-tests/wpt#9672)
@annevk annevk added normative change topic: serialize and transfer needs tests Moving the issue forward requires someone to write tests labels Mar 12, 2018
@annevk
Copy link
Member Author

annevk commented Mar 12, 2018

Before updating the tests I'd like agreement on this change.

cc @bakulf @cdumez @travisleithead @mkruisselbrink

Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

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

LGTM editorially; nice find from Jeremy. I guess you'll still want to update the acks.

@annevk
Copy link
Member Author

annevk commented Mar 14, 2018

Thanks, also need to add Jeremy's test (and flip the conditions of some of the other ones in that PR).

annevk added a commit to web-platform-tests/wpt that referenced this pull request Mar 21, 2018
@annevk annevk merged commit 233d984 into master Mar 21, 2018
@annevk annevk removed the needs tests Moving the issue forward requires someone to write tests label Mar 21, 2018
@annevk
Copy link
Member Author

annevk commented Mar 21, 2018

FYI: browser bugs are linked from the test PR.

@annevk annevk deleted the annevk/delay-transfer-detached-checks branch March 21, 2018 08:48
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Apr 15, 2018
…tonly

Automatic update from web-platform-testsTest postMessage() exception order

For whatwg/html#3508 and whatwg/html#3557.

wpt-commits: fc04bb5708878ee7b68996f8a161507022e07777
wpt-pr: 9672
wpt-commits: fc04bb5708878ee7b68996f8a161507022e07777
wpt-pr: 9672
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 2, 2019
…tonly

Automatic update from web-platform-testsTest postMessage() exception order

For whatwg/html#3508 and whatwg/html#3557.

wpt-commits: fc04bb5708878ee7b68996f8a161507022e07777
wpt-pr: 9672
wpt-commits: fc04bb5708878ee7b68996f8a161507022e07777
wpt-pr: 9672

UltraBlame original commit: 7aa5cbfd0daa25162b40ca204419fa9fe82049a6
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 2, 2019
…tonly

Automatic update from web-platform-testsTest postMessage() exception order

For whatwg/html#3508 and whatwg/html#3557.

wpt-commits: fc04bb5708878ee7b68996f8a161507022e07777
wpt-pr: 9672
wpt-commits: fc04bb5708878ee7b68996f8a161507022e07777
wpt-pr: 9672

UltraBlame original commit: 7aa5cbfd0daa25162b40ca204419fa9fe82049a6
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 2, 2019
…tonly

Automatic update from web-platform-testsTest postMessage() exception order

For whatwg/html#3508 and whatwg/html#3557.

wpt-commits: fc04bb5708878ee7b68996f8a161507022e07777
wpt-pr: 9672
wpt-commits: fc04bb5708878ee7b68996f8a161507022e07777
wpt-pr: 9672

UltraBlame original commit: 7aa5cbfd0daa25162b40ca204419fa9fe82049a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

2 participants