blob: 28f2b2f5f35eefcc03caf7aaf299275d178e80b2 [file] [log] [blame]
<html>
<head>
<script>
function onload()
{
if (window.testRunner)
testRunner.dumpAsText();
// Following code generates an exception.
var p = document.createTextNode("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>