blob: 7a5f60602941291f3658e570cde2bff015c4d49f [file] [log] [blame]
<!doctype html>
<title>Notifications: The "tag" property is able to replace existing notifications.</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="resources/test-helpers.js"></script>
// Tests that Dedicated Worker-bound notifications can be replaced using the
// "tag" property in the constructor's options. When the test is being ran
// manually, grant Notification permission first and verify that only a
// single notification will be shown at the end of the test.
if (window.testRunner)
testRunner.setPermission('notifications', 'granted', location.origin, location.origin);