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

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

Issue 2899973002: Hide modal permission prompts on Android upon tab navigation/destruction (Closed)
Patch Set: clean up 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
Index: content/test/data/android/permission_navigation.html
diff --git a/content/test/data/android/permission_navigation.html b/content/test/data/android/permission_navigation.html
new file mode 100644
index 0000000000000000000000000000000000000000..6a73e3aaa57449ad73bc63a94deda1b6f6b7fc84
--- /dev/null
+++ b/content/test/data/android/permission_navigation.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+
+<script>
+function navigate() {
+ window.location = "about:blank";
+}
+
+function requestGeolocationPermission() {
+ navigator.geolocation.getCurrentPosition(function() { });
+}
+
+function requestNotificationPermission() {
+ Notification.requestPermission();
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698