| Index: third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/notimer-after-unload.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/notimer-after-unload.js b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/notimer-after-unload.js
|
| deleted file mode 100644
|
| index 41380e2d658d96f9f99829d9145eefa6cde86da7..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/notimer-after-unload.js
|
| +++ /dev/null
|
| @@ -1,21 +0,0 @@
|
| -description("Tests that no timers will trigger for navigator.geolocation object after onunload.");
|
| -
|
| -if (!window.testRunner)
|
| - debug('This test can not run without testRunner');
|
| -
|
| -geolocationServiceMock.then(mock => {
|
| - mock.setGeolocationPermission(true);
|
| -
|
| - location = "data:text/html,You should have seen one unload alert appear.<script>window.setTimeout('if (window.testRunner) testRunner.notifyDone();', 100);</script>";
|
| -});
|
| -
|
| -document.body.onunload = function() {
|
| - navigator.geolocation.getCurrentPosition(
|
| - function(p) {alert('FAIL: Unexpected Geolocation success callback.');},
|
| - function(e) {alert('FAIL: Unexpected Geolocation error callback.' + e.code + e.message);},
|
| - {timeout: 0, maximumAge:0}
|
| - );
|
| - alert("unload-called");
|
| -}
|
| -
|
| -window.jsTestIsAsync = true;
|
|
|