Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /media-source/URL-createObjectURL-null.html - WPT Dashboard Interop Dashboard
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<title>URL.createObjectURL(null)</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"></div>
<script>
test(function() {
assert_throws_js(TypeError, function() {
window.URL.createObjectURL(null);
});
}, "URL.createObjectURL(null)");
</script>
</body>
</html>