Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: LayoutTests/platform/chromium/fast/events/popup-allowed-from-gesture-only-once.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/platform/chromium/fast/events/popup-allowed-from-gesture-only-once.html
diff --git a/LayoutTests/platform/chromium/fast/events/popup-allowed-from-gesture-only-once.html b/LayoutTests/platform/chromium/fast/events/popup-allowed-from-gesture-only-once.html
deleted file mode 100644
index bcb9bb808d7a70da9bec8a863bdfaee4deeeecd1..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium/fast/events/popup-allowed-from-gesture-only-once.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<html>
- <body>
- <p>
- Test that only a single popup is allowed in response to a single
- user action. The test passes if only one popup is created.
- </p>
- <button id="button" onclick="popup()">Click Here</button>
- <div id="console"></div>
- <script>
- function popup() {
- window.open("about:blank", "window1");
- 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>

Powered by Google App Engine
This is Rietveld 408576698