25 lines
380 B
HTML
25 lines
380 B
HTML
<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>
|