Closed Bug 1454889 Opened 3 years ago Closed 3 years ago
Object URL()'s Media Stream overload
Per https://w3c.github.io/mediacapture-main/ this was removed in 2013 from the standard, but we appear to still implement it. Safari does throw.
The warning message landed 1 year ago, in Firefox 54. I think it's time to remove this method.
Assignee: nobody → amarchesini
Attachment #8969702 - Flags: review?(valentin.gosu)
Attachment #8969702 - Flags: review?(valentin.gosu) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/0c5a4939300c Remove createObjectURL()'s MediaStream overload, r=valentin
Posted the site compatibility note: https://www.fxsitecompat.com/en-CA/docs/2018/url-createobjecturl-no-longer-accepts-mediastream-as-argument/
Backout by email@example.com: https://hg.mozilla.org/mozilla-central/rev/fb435df9797a Backed out changeset 0c5a4939300c for causing frequent Leaks (Bug 1378025). a=backout
Backed out for causing frequent Leaks (Bug 1378025) Backout link: https://hg.mozilla.org/mozilla-central/rev/fb435df9797a471419670fe2d053432556959a9d Failure log link: https://treeherder.mozilla.org/logviewer.html#?job_id=177193780&repo=autoland&lineNumber=3463 Bug 1378025 : https://bugzilla.mozilla.org/show_bug.cgi?id=1378025
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/mozilla-central/rev/43e0ab28dfe2 Re-add expected fail mediacapture-streams/historical.html after backout. a=wpt-fix
You should be able to reland now. Note that WPT needs an additional unexpected-pass fix, per https://treeherder.mozilla.org/#/jobs?repo=try&revision=b568e34493797742ad83deea0a439cdda9dbf4ce&selectedJob=178302962
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/1076e77e7b5c Remove createObjectURL()'s MediaStream overload, r=valentin
Updated the site compatibility note for 62: https://www.fxsitecompat.com/en-CA/docs/2018/url-createobjecturl-no-longer-accepts-mediastream-as-argument/
Docs updated: https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/srcObject https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL Also submitted BCD PR #2149 to update compatibility tables with notes referring to https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL#Using_object_URLs_for_media_streams for details.
This issue has been discussed on dev-platform. I didn't know when Chrome was planning to deprecate this feature.
You need to log in before you can comment on or make changes to this bug.