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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/callback-to-deleted-context-inner1.html

Issue 1367853002: Move GeolocationDispatcher into blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/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..763f56695e6b20df044e333db26d08bc270aa064 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
@@ -6,12 +6,12 @@
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;
+ internals.setGeolocationClientMock(parent.document);
+ internals.setGeolocationPermission(parent.document, true);
+ internals.setGeolocationPosition(parent.document, 51.478, -0.166, 100);
+
// 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() {

Powered by Google App Engine
This is Rietveld 408576698