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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Geolocation/window-close-crash.html

Issue 2671933003: Move Geolocation out from fast/dom. (Closed)
Patch Set: . Created 3 years, 10 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/window-close-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/window-close-crash.html b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/window-close-crash.html
deleted file mode 100644
index 68f1e5433f5726d18ec1b004f679e913d4aa8148..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/window-close-crash.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-<script src="../../../resources/mojo-helpers.js"></script>
-<script src="resources/geolocation-mock.js"></script>
-</head>
-<body>
-<script>
-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;
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698