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

Unified Diff: LayoutTests/fast/notifications/resources/display-permission.html

Issue 186713002: Add new layout tests for the Web Notification API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « LayoutTests/fast/notifications/notifications-permission-values-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/notifications/resources/display-permission.html
diff --git a/LayoutTests/fast/notifications/resources/display-permission.html b/LayoutTests/fast/notifications/resources/display-permission.html
new file mode 100644
index 0000000000000000000000000000000000000000..5987f0e26127b9ddcc0e70d947e28f3c79368dda
--- /dev/null
+++ b/LayoutTests/fast/notifications/resources/display-permission.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Page which displays whether permission for displaying notification has been granted.</title>
+ <!-- This resource is part of fast/notifications/notification-sandbox-permissions.html -->
+ </head>
+ <body>
+ <p id="has-permission">Unknown</p>
+ <script>
+ document.getElementById('has-permission').textContent = Notification.permission;
+ </script>
+ </body>
+</html>
« no previous file with comments | « LayoutTests/fast/notifications/notifications-permission-values-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698