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

Side by Side Diff: LayoutTests/fast/notifications/notifications-cancel-request-permission.html

Issue 187323005: Revert of Remove support for legacy WebKit Notifications (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script type="text/javascript">
4
5 // Timeout is to ensure that the iframe was removed.
6 setTimeout(isDone,500);
7
8 function log(message)
9 {
10 document.getElementById("result").innerHTML += message + "<br>";
11 }
12
13 function runTests()
14 {
15 if (window.testRunner) {
16 testRunner.dumpAsText();
17 testRunner.waitUntilDone();
18 }
19
20 if (!window.webkitNotifications) {
21 log("FAIL: No webkitNotifications interface!");
22 }
23
24 document.getElementById("test").innerHTML="Pass if notification is c ancelled";
25 }
26
27 function isDone()
28 {
29 if (window.testRunner) {
30 testRunner.notifyDone();
31 }
32 }
33
34 </script>
35 </head>
36 <body onload="runTests();">
37 <p>Requesting and cancelling notification permission...</p>
38
39 <div id="result"></div>
40 <div id="test">
41 <iframe src="resources/notifications-cancel-request-permission.html" width=800 h eight=800></iframe>
42 </div>
43 </body>
44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698