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

Unified Diff: LayoutTests/fast/notifications/resources/show-notification.html

Issue 186713002: Add new layout tests for the Web Notification API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update existing tests Created 6 years, 10 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: LayoutTests/fast/notifications/resources/show-notification.html
diff --git a/LayoutTests/fast/notifications/resources/show-notification.html b/LayoutTests/fast/notifications/resources/show-notification.html
new file mode 100644
index 0000000000000000000000000000000000000000..e1467697da3ca46dbc1b6cfc5c87a2f6c1f55f36
--- /dev/null
+++ b/LayoutTests/fast/notifications/resources/show-notification.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Page which creates a notification and then immediately closes it.</title>
+ <!-- This resource is part of fast/notifications/notifications-leak-documents.html -->
+ </head>
+ <body>
+ <script>
+ var notification = new Notification('Title', {
+ body: 'Notification content'
+ });
+
+ notification.close();
+ </script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698