Closed Bug 1198553 Opened 9 years ago Closed 8 years ago

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1279493
Tracking Status
firefox43 --- affected

People

(Reporter: jya, Unassigned)

Details

From http://w3c.github.io/media-source/index.html#mediasource-object-url "A MediaSource object URL is a unique Blob URI [FILE-API] created by createObjectURL(). It is used to attach a MediaSource object to an HTMLMediaElement. These URLs are the same as a Blob URI, except that anything in the definition of that feature that refers to File and Blob objects is hereby extended to also apply to MediaSource objects. The origin of the MediaSource object URL is the effective script origin of the document that called createObjectURL()." When createObjectURL is used with a mediasource, the URI created is prefixed with "mediasource", not "blob" This cause the W3C test: http://w3c-test.org/media-source/URL-createObjectURL.html to fail as it tests if the URI properly starts with "blob" via: assert_true(url.match(/^blob:.+/) != null); The fix is unfortunately slightly more complex than changing the MEDIASOURCEURI_SCHEME macro.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.