Move Geolocation out from fast/dom.

Geolocation API isn't a part of DOM.
This CL has no behavior changes.

BUG=685886
[email protected]

Review-Url: https://codereview.chromium.org/2671933003
Cr-Commit-Position: refs/heads/master@{#448422}
diff --git a/third_party/WebKit/LayoutTests/geolocation-api/callback-to-remote-context2.html b/third_party/WebKit/LayoutTests/geolocation-api/callback-to-remote-context2.html
new file mode 100644
index 0000000..6c1d1b58
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/geolocation-api/callback-to-remote-context2.html
@@ -0,0 +1,32 @@
+<!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 that when a Geolocation request is made from a remote frame, and the JavaScript call chain starts from that remote frame, callbacks are made as usual.");
+
+function onIframeReady() {
+    // Make request from remote frame, with call chain starting here
+    window.setTimeout(function() {
+        iframe.contentWindow.navigator.geolocation.getCurrentPosition(function() {
+            testPassed('Success callback invoked');
+            finishJSTest();
+        }, function() {
+            testFailed('Error callback invoked unexpectedly');
+            finishJSTest();
+        });
+    }, 0);
+}
+
+var iframe = document.createElement('iframe');
+iframe.src = 'resources/callback-to-remote-context-inner.html';
+document.body.appendChild(iframe);
+
+window.jsTestIsAsync = true;
+</script>
+</body>
+</html>