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

Side by Side Diff: content/test/data/android/permission_navigation.html

Issue 2899973002: Hide modal permission prompts on Android upon tab navigation/destruction (Closed)
Patch Set: address comments 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <script>
4 function navigate() {
5 window.location = "about:blank";
6 }
7
8 function requestGeolocationPermission() {
9 navigator.geolocation.getCurrentPosition(function() { });
10 }
11
12 function requestNotificationPermission() {
13 Notification.requestPermission();
14 }
15 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698