<!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>