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

[Gecko Bug 1264182] Hide URL.createObjectURL from ServiceWorker #12339

Merged
merged 1 commit into from
Aug 8, 2018

Conversation

moz-wptsync-bot
Copy link
Collaborator

The appropriate lifetime for URLs created with URL.createObjectURL turned
out to be tricky to define, so it was decided to hide it from service
workers altogether. (w3c/ServiceWorker#688)

This commit implements this change and adds a web platform test to verify it.
It also exposes the MediaSource variant of URL.createObjectURL in DedicatedWorker
and SharedWorker contexts in order to comply with the WebIDL spec (see
w3c/media-source#168 (comment)).

Differential Revision: https://phabricator.services.mozilla.com/D2728

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1264182
gecko-commit: 40d4999db3191bca0aeb75a50b37537ad78102ed
gecko-integration-branch: autoland
gecko-reviewers: mrbkap, asuth

The appropriate lifetime for URLs created with URL.createObjectURL turned
out to be tricky to define, so it was decided to hide it from service
workers altogether. (w3c/ServiceWorker#688)

This commit implements this change and adds a web platform test to verify it.
It also exposes the MediaSource variant of URL.createObjectURL in DedicatedWorker
and SharedWorker contexts in order to comply with the WebIDL spec (see
w3c/media-source#168 (comment)).

Differential Revision: https://phabricator.services.mozilla.com/D2728

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1264182
gecko-commit: 40d4999db3191bca0aeb75a50b37537ad78102ed
gecko-integration-branch: autoland
gecko-reviewers: mrbkap, asuth
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

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

Already reviewed downstream.

@moz-wptsync-bot moz-wptsync-bot merged commit 3941f3c into master Aug 8, 2018
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1264182 branch August 8, 2018 15:01
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.

3 participants