blob: 9e93c1b40d6e805561fadfe06b6bf06cb7008f08 [file] [log] [blame]
<!doctype html>
<html>
<head>
<title>Notifications: Creating a notification should call the onshow event.</title>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script src="resources/test-helpers.js"></script>
</head>
<body>
<script>
// Tests that Shared Worker-bound notifications will have their onshow
// fired when they're created. When the test is being run manually, grant
// notification permission when prompted.
if (window.testRunner)
testRunner.setPermission('notifications', 'granted', location.origin, location.origin);
sharedWorkerTest("resources/show-event-test.js");
</script>
</body>
</html>