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

Handle deserialization failures in postMessage() #1130

Merged
merged 1 commit into from
Apr 29, 2017

Conversation

domenic
Copy link
Contributor

@domenic domenic commented Apr 20, 2017

This is part of whatwg/html#2530; see related links there for more information. Closes #1116.

It is on top of #1102, so that needs to be merged first. In addition, the HTML PR needs to be merged first so that the messageerror event type is actually defined somewhere; once that's done the Bikeshed HTML needs to be regenerated.

Also, this needs some tests, which I will write.

domenic added a commit to web-platform-tests/wpt that referenced this pull request Apr 20, 2017
Follows w3c/ServiceWorker#1130. The actual situations in which this will be called is being tested as part of #5003.
@jungkees
Copy link
Collaborator

Thanks @domenic. #1102 is merged.

@domenic
Copy link
Contributor Author

domenic commented Apr 21, 2017

Awesome. I'll rebase this and ping once we get whatwg/html#2530 merged.

This is part of whatwg/html#2530; see related links there for more information. Closes w3c#1116.

Also makes some minor updates to stop referencing terms that have been removed from HTML.
@domenic
Copy link
Contributor Author

domenic commented Apr 28, 2017

@jungkees this has been rebased on master and is ready to merge, with tests at web-platform-tests/wpt#5628

@jungkees jungkees merged commit 20cf12d into w3c:master Apr 29, 2017
@jungkees
Copy link
Collaborator

Thanks @domenic! Great that you cleaned up the kill a worker references too.

@domenic domenic deleted the messageerror branch May 1, 2017 18:25
@domenic
Copy link
Contributor Author

domenic commented May 1, 2017

Would someone be able to review web-platform-tests/wpt#5628 ? It's pretty small, just testing the attribute reflection.

domenic added a commit to web-platform-tests/wpt that referenced this pull request May 1, 2017
Follows w3c/ServiceWorker#1130. The actual situations in which this will be called is being tested as part of #5003.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants