Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / notifications / close-shared-worker.html
blob9e33f3f92b84c206aa1e478b8bbe64ffc043c352
1 <!doctype html>
2 <html>
3 <head>
4 <title>Notifications: Programatically closing a notification should fire the onclose event.</title>
5 <script src="../resources/testharness.js"></script>
6 <script src="../resources/testharnessreport.js"></script>
7 <script src="resources/test-helpers.js"></script>
8 </head>
9 <body>
10 <script>
11 // Tests that Shared Worker-bound notifications will fire the onclose
12 // event when they have their close() method called. When the test is being
13 // ran manually, grant Notification permission first.
14 if (window.testRunner)
15 testRunner.setPermission('notifications', 'granted', location.origin, location.origin);
17 sharedWorkerTest("resources/close-event-test.js");
18 </script>
19 </body>
20 </html>