Index: third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/callback-to-deleted-context-inner1.html |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/callback-to-deleted-context-inner1.html b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/callback-to-deleted-context-inner1.html |
index 81311680bfeaf1e21dfecffda46f10ac5dfc74a8..90929ca65e0afd67e2769a567731add3c61b3784 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/callback-to-deleted-context-inner1.html |
+++ b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/callback-to-deleted-context-inner1.html |
@@ -3,15 +3,9 @@ |
<head> |
<script> |
function makeGeolocationRequest() { |
- if (!window.testRunner || !window.internals) |
- debug('This test can not run without testRunner or internals'); |
- |
- internals.setGeolocationClientMock(document); |
- internals.setGeolocationPermission(document, true); |
- internals.setGeolocationPosition(document, 51.478, -0.166, 100); |
- |
var parent = window.parent; |
+ |
// Make request from remote frame, this frame will be gone by the time the Geolocation |
// object attempts to invoke the callback. |
window.parent.navigator.geolocation.getCurrentPosition(function() { |