1 <html xmlns='http://www.w3.org/
1999/xhtml'
>
2 Test passes if it does not crash.
4 <input id=
"submit" type=
"submit" />
7 if (window
.testRunner
) {
8 testRunner
.dumpAsText();
9 testRunner
.waitUntilDone();
12 textNode
= document
.createTextNode("x");
13 document
.getElementById("submit").appendChild(textNode
);
15 runTest = function() {
16 event
= document
.createEvent("MouseEvent");
17 event
.initEvent("click");
18 textNode
.dispatchEvent(event
);
19 if (window
.testRunner
)
20 testRunner
.notifyDone();
23 setTimeout(runTest
, 0);