Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / notifications / update-document.html
blobb75721c20b9e03417a2b7f164e2dbf8634158711
1 <!doctype html>
2 <html>
3 <head>
4 <title>Notifications: The "tag" property is able to replace existing notifications.</title>
5 <script src="../resources/testharness.js"></script>
6 <script src="../resources/testharnessreport.js"></script>
7 <script src="resources/test-helpers.js"></script>
8 <script src="../resources/permissions-helper.js"></script>
9 </head>
10 <body>
11 <script>
12 // Tests that Document-bound notifications can be replaced using the "tag"
13 // property in the constructor's options. When the test is being ran
14 // manually, grant Notification permission first and verify that only a
15 // single notification will be shown at the end of the test.
16 PermissionsHelper.setPermission('notifications', 'granted').then(function() {
17 var script = document.createElement('script');
18 script.src = 'resources/update-event-test.js';
19 document.body.appendChild(script);
20 });
21 </script>
22 </body>
23 </html>