4 if (window
.testRunner
) {
5 testRunner
.dumpAsText();
6 internals
.settings
.setSmartInsertDeleteEnabled(false);
7 internals
.settings
.setSelectTrailingWhitespaceEnabled(true);
8 testRunner
.waitUntilDone();
11 function startTest() {
12 if (window
.testRunner
) {
13 // The IFRAME has loaded with an image in it. Double click
14 // in any of the space around the image in the IFRAME.
15 // (The image is 76 x 103 pixels big).
16 eventSender
.mouseMoveTo(150, 150);
17 eventSender
.mouseDown();
18 eventSender
.mouseUp();
19 eventSender
.mouseDown();
20 eventSender
.mouseUp();
22 // As long as didn't crash, we passed.
23 document
.body
.innerHTML
= "PASS";
24 testRunner
.notifyDone();
29 <body onload=
"startTest()">
31 <iframe src=
"../resources/abe.png" style=
"width: 300px; height: 300px"></iframe>
34 Double-click in the white space around the image -- should not crash or access invalid memory.
35 <a href=
"https://bugs.webkit.org/show_bug.cgi?id=25335">BUG
25335</a>.