mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 02:40:22 -10:00
Automatic update from web-platform-testsFetch: MediaSource blob: URLs For https://github.com/whatwg/fetch/pull/708. -- wpt-commits: e2c839d70a30ce0a3816bc63601a99ccf65a1654 wpt-pr: 10509
6 lines
238 B
JavaScript
6 lines
238 B
JavaScript
promise_test(t => {
|
|
const mediaSource = new MediaSource(),
|
|
mediaSourceURL = URL.createObjectURL(mediaSource);
|
|
return promise_rejects(t, new TypeError(), fetch(mediaSourceURL));
|
|
}, "Cannot fetch blob: URL from a MediaSource");
|