haikuwebkit/LayoutTests/fast/constructors/blob-sparse-array-assertion...

27 lines
558 B
HTML

<!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>