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 <iframe> that requests geolocation.</div> |
+ <script> |
+ console.log('<iframe> loaded'); |
+ startTest(); |
+ </script> |
+ </body> |
+</html> |