4 <script language=
"javascript" type=
"text/javascript">
6 testRunner
.dumpAsText();
9 var node0
= document
.getElementById('test0');
10 if (node0
.removeSpellcheckRange
)
11 node0
.removeSpellcheckRange(null);
12 var node1
= document
.getElementById('test1');
13 if (node1
.removeSpellcheckRange
)
14 node1
.removeSpellcheckRange(null);
15 var node2
= document
.getElementById('test2');
16 if (node2
.removeSpellcheckRange
)
17 node2
.removeSpellcheckRange(null);
21 <body onload=
"Test()">
22 <p>This tests thats WebKit does not crash when we call removeSpellcheckRange() with a null parameter. To test manually, open this HTML file and check if the browser can open this file without a crash.
</p>
23 <textarea id=
"test0" rows=
"10" cols=
"80">wellcome
</textarea><br />
24 <input id=
"test1" type=
"text" value=
"wellcome" /><br />
25 <div id=
"test2" contenteditable=
"true">wellcome
</div><br />