Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / doubleclick-whitespace-img-crash.html
blobf74aa265677656358a795986e3a3799c7fcef67e
1 <html>
2 <head>
3 <script>
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();
27 </script>
28 </head>
29 <body onload="startTest()">
31 <iframe src="../resources/abe.png" style="width: 300px; height: 300px"></iframe>
33 <p>
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>.
36 </p>
38 </body>
39 </html>