Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /fetch/api/basic/mediasource.window.html - WPT Dashboard Interop Dashboard
promise_test(t => {
const mediaSource = new MediaSource(),
mediaSourceURL = URL.createObjectURL(mediaSource);
return promise_rejects_js(t, TypeError, fetch(mediaSourceURL));
}, "Cannot fetch blob: URL from a MediaSource");