blob: ce19f93ba43dbea22b78b83646ee03474c7f91ce [file] [log] [blame]
<!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>