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

Side by Side Diff: LayoutTests/fast/notifications/notification-replace.html

Issue 624033003: [WIP] Move Web Notifications to a WebFrame-less code path (Blink). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: current state Created 6 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p> 7 <p>
8 Tests that it is possible to replace existing notifications using 8 Tests that it is possible to replace existing notifications using
9 the "tag" property of a Web Notification object. When running this 9 the "tag" property of a Web Notification object from the document
10 test manually, verify that the title of the shown notification is 10 context. When running this test manually, verify that the title of
11 updated to read "Notification 2". 11 the shown notification is updated to read "Notification 2".
12 </p> 12 </p>
13 <div id="console"></div> 13 <div id="console"></div>
14 <script src="resources/notification-replace.js"></script> 14 <script src="resources/notification-replace.js"></script>
15 <script> 15 <script>
16 var jsTestIsAsync = true;
16 if (window.testRunner) { 17 if (window.testRunner) {
17 testRunner.grantWebNotificationPermission("file://", true); 18 testRunner.grantWebNotificationPermission("file://", true);
18 testRunner.waitUntilDone(); 19 testRunner.waitUntilDone();
19 } 20 }
20 21
21 runTest(); 22 runTest();
22 </script> 23 </script>
23 </body> 24 </body>
24 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698