Marked http/tests/xmlhttprequest/workers/methods-async.html as flaky.
[WebKit-https.git] / LayoutTests / http / tests / notifications / legacy / notification-request-permission-then-navigate.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="/resources/js-test-pre.js"></script>
5 <script src="/resources/notifications-test-pre.js"></script>
6 </head>
7 <body onload="runTest()">
8 <script>
9 description("Tests that we are not crashing when a permission request is answered after navigating");
10 jsTestIsAsync = true;
11
12 if (window.testRunner)
13   testRunner.setCanOpenWindows();
14
15 window.addEventListener('message', function(event)
16 {
17   testPassed("This test did not crash");
18   target.close();
19   finishJSTest();
20 });
21
22 function runTest()
23 {
24   target = window.open('resources/request-permission-then-navigate.html');
25 }
26
27 </script>
28 <script src="/resources/js-test-post.js"></script>
29 </body>
30 </html>