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

Unified Diff: chrome/test/data/extensions/platform_apps/web_view/geolocation/cancel_request/pages/iframe.html

Issue 13712002: Fix Guest geolocation API, we were using |bridge_id| and |request_id| interchangeably which is wron… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. Created 7 years, 8 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: chrome/test/data/extensions/platform_apps/web_view/geolocation/cancel_request/pages/iframe.html
diff --git a/chrome/test/data/extensions/platform_apps/web_view/geolocation/cancel_request/pages/iframe.html b/chrome/test/data/extensions/platform_apps/web_view/geolocation/cancel_request/pages/iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..bf0756bd4b3b6d162390a9d2cb57200c2760a22c
--- /dev/null
+++ b/chrome/test/data/extensions/platform_apps/web_view/geolocation/cancel_request/pages/iframe.html
@@ -0,0 +1,22 @@
+<!--
+ * Copyright 2013 The Chromium Authors. All rights reserved. Use of this
+ * source code is governed by a BSD-style license that can be found in the
+ * LICENSE file.
+-->
+<html>
+ <head>
+ <script type="text/javascript">
+ var startTest = function() {
+ console.log('iframe.startTest');
+ navigator.geolocation.getCurrentPosition(function(position) {});
+ };
+ </script>
+ </head>
+ <body bgcolor="red">
+ <div>An &lt;iframe&gt; that requests geolocation.</div>
+ <script>
+ console.log('<iframe> loaded');
+ startTest();
+ </script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698