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

Unified Diff: content/test/data/android/permission_frame_test.html

Issue 2829023002: Fix cancelling permission requests on Android when the PermissionRequestManager is enabled (Closed)
Patch Set: rebase Created 3 years, 7 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
« no previous file with comments | « chrome/browser/ui/views/permission_bubble/permission_prompt_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/android/permission_frame_test.html
diff --git a/content/test/data/android/permission_frame_test.html b/content/test/data/android/permission_frame_test.html
new file mode 100644
index 0000000000000000000000000000000000000000..883b522a7cc4cde2bddd17740e755b211a14ca51
--- /dev/null
+++ b/content/test/data/android/permission_frame_test.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+
+<iframe id=iframe srcdoc="
+<script>
+navigator.geolocation.getCurrentPosition(function() { });
+</script>
+"></iframe>
+
+<script>
+function navigateIFrame() {
+ iframe.contentWindow.location = "about:blank";
+}
+
+function requestGeolocation() {
+ navigator.geolocation.getCurrentPosition(function() { });
+}
+</script>
« no previous file with comments | « chrome/browser/ui/views/permission_bubble/permission_prompt_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698