summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/media-source/URL-createObjectURL-null.html
blob: f2f973a776e5fc17fd59765d5551a79eb492a959 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!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>