[WK2] selection does not disappear after coping the text
[framework/web/webkit-efl.git] / LayoutTests / fast / notifications / notifications-request-permission.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <script type="text/javascript">
5         function log(message)
6         {
7             document.getElementById("result").innerHTML += message + "<br>";
8         }
9         
10         function runTests()
11         {
12             if (window.layoutTestController) {
13                 layoutTestController.dumpAsText();
14             }
15
16             if (!window.webkitNotifications) {
17                 log("FAIL: No webkitNotifications interface!");
18             }
19             
20             var N = window.webkitNotifications.requestPermission(
21                 function() { log("PASS: Permission callback invoked."); }
22             );
23         }
24     </script>
25 </head>
26 <body>
27     <p>Requesting notification permission...</p>
28     
29 <div id="result"></div>    
30 <script type="text/javascript">
31 runTests();
32 </script>
33
34
35 </body>
36 </html>