summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/constructors/blob-sparse-array-assertion-failure.html
blob: ce19f93ba43dbea22b78b83646ee03474c7f91ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
<head>
<script>
function log(message)
{
    document.getElementById('console').appendChild(document.createTextNode(message + "\n"));
}

function test()
{
    new Blob(Array(100));
    log("DONE");
}

if (window.testRunner)
    testRunner.dumpAsText();
</script>
</head>
<body onload="test()">
Test that constructing a Blob with a sparse array doesn't trigger an assertion failure.
<br>
<a href="https://bugs.webkit.org/show_bug.cgi?id=101869">https://bugs.webkit.org/show_bug.cgi?id=101869</a>
<pre id='console'></pre>
</body>
</html>