[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / fast / notifications / notifications-cancel-request-permission.html
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.layoutTestController) {
16                 layoutTestController.dumpAsText();
17                 layoutTestController.waitUntilDone();
18             }
19
20             if (!window.webkitNotifications) {
21                 log("FAIL: No webkitNotifications interface!");
22             }
23             
24             document.getElementById("test").innerHTML="Pass if notification is cancelled";
25         }
26
27         function isDone()
28         {
29             if (window.layoutTestController) {
30                 layoutTestController.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 height=800></iframe>
42 </div>
43 </body>
44 </html>