Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1264182: Hide URL.createObjectURL from ServiceWorker r=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 --HG-- extra : moz-landing-system : lando
- Loading branch information