blob: d35653214b4846cce292a53b813d4d491b95ac4c [file] [log] [blame]
<html>
<head>
<script>
function onload()
{
if (window.testRunner)
testRunner.dumpAsText();
// Following code generates an exception.
var p = document.createTextNode();
p.textContent = "foo";
p.splitText(10000);
}
</script>
</head>
<body onload="onload()">
<p>
This tests that we are getting the correct message for DOM Exception 1: INDEX_SIZE_ERR.
</p>
</body>
</html>