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

Side by Side Diff: LayoutTests/fast/notifications/notification-click.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, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/notifications/notification-click-dedicated-worker.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 Notification.click() will result in the onclick event bei ng 8 Tests that Notification.click() will result in the onclick event bei ng
9 called in a document context. When running this test manually, accep t 9 called in a document context. When running this test manually, accep t
10 the permission and click on the shown notification. 10 the permission and click on the shown notification.
11 </p> 11 </p>
12 <div id="console"></div> 12 <div id="console"></div>
13 <script src="resources/notification-click.js"></script> 13 <script src="resources/notification-click.js"></script>
14 <script> 14 <script>
15 var jsTestIsAsync = true;
15 if (window.testRunner) { 16 if (window.testRunner) {
16 testRunner.grantWebNotificationPermission("file://", true); 17 testRunner.grantWebNotificationPermission("file://", true);
17 testRunner.waitUntilDone(); 18 testRunner.waitUntilDone();
18 } 19 }
19 20
20 runTest(); 21 runTest();
21 </script> 22 </script>
22 </body> 23 </body>
23 </html> 24 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/notifications/notification-click-dedicated-worker.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698