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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/window-close-crash.js

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 years, 11 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: third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/window-close-crash.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/window-close-crash.js b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/window-close-crash.js
deleted file mode 100644
index 3899456fb291986d3db9066b69111f3c56c23354..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/window-close-crash.js
+++ /dev/null
@@ -1,34 +0,0 @@
-description("Tests the assertion that the GeolocationClient should not be updating<br>" +
- "when the GeolocationController is destroyed.<br>" +
- "See https://bugs.webkit.org/show_bug.cgi?id=52216");
-
-if (!window.testRunner)
- debug('This test can not run without testRunner');
-
-testRunner.waitUntilDone();
-testRunner.setCanOpenWindows();
-testRunner.setCloseRemainingWindowsWhenComplete(true);
-
-var otherWindow;
-
-function gotPosition(p)
-{
- testPassed("Received Geoposition.");
- otherWindow.close();
- window.setTimeout(waitForWindowToClose, 0);
-}
-
-function waitForWindowToClose()
-{
- if (!otherWindow.closed) {
- window.setTimeout(waitForWindowToClose, 0);
- return;
- }
- testPassed("Success - no crash!");
- finishJSTest();
-}
-
-debug("Main page opening resources/window-close-popup.html");
-otherWindow = window.open("resources/window-close-popup.html");
-
-window.jsTestIsAsync = true;

Powered by Google App Engine
This is Rietveld 408576698