| Index: LayoutTests/platform/chromium/fast/events/popup-allowed-from-gesture-only-once-two-events.html
|
| diff --git a/LayoutTests/platform/chromium/fast/events/popup-allowed-from-gesture-only-once-two-events.html b/LayoutTests/platform/chromium/fast/events/popup-allowed-from-gesture-only-once-two-events.html
|
| deleted file mode 100644
|
| index 4d442f808d8b5006f0ffbca033ef2532b42db970..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/platform/chromium/fast/events/popup-allowed-from-gesture-only-once-two-events.html
|
| +++ /dev/null
|
| @@ -1,45 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| - <body>
|
| - <p>
|
| - Test that only a single popup is allowed in response to a single
|
| - user action, even if the the user action triggers multiple events.
|
| - The test passes if only one popup is created.
|
| - </p>
|
| - <button id="button" onmousedown="popup1()" onmouseup="popup2()">Click Here</button>
|
| - <div id="console"></div>
|
| - <script>
|
| - function popup1() {
|
| - window.open("about:blank", "window1");
|
| - }
|
| -
|
| - function popup2() {
|
| - window.open("about:blank", "window2");
|
| - if (window.testRunner) {
|
| - if (testRunner.windowCount() == windowCount + 1)
|
| - document.getElementById("console").innerText = "PASSED";
|
| - else
|
| - document.getElementById("console").innerText = "FAILED";
|
| - testRunner.notifyDone();
|
| - }
|
| - }
|
| -
|
| - if (window.testRunner) {
|
| - testRunner.dumpAsText();
|
| - testRunner.setCanOpenWindows();
|
| - testRunner.setPopupBlockingEnabled(true);
|
| - testRunner.setCloseRemainingWindowsWhenComplete(true);
|
| - testRunner.waitUntilDone();
|
| - windowCount = testRunner.windowCount();
|
| -
|
| - var button = document.getElementById("button");
|
| -
|
| - if (window.eventSender) {
|
| - eventSender.mouseMoveTo(button.offsetLeft + button.offsetWidth / 2, button.offsetTop + button.offsetHeight / 2);
|
| - eventSender.mouseDown();
|
| - eventSender.mouseUp();
|
| - }
|
| - }
|
| - </script>
|
| - </body>
|
| - </html>
|
|
|