chromium/third_party/blink/web_tests/http/tests/notifications/click-shared-worker.html

<!doctype html>
<html>
  <head>
    <title>Notifications: Simulating a click should call the onclick 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 onclick
      // event fired when they're being clicked on. When the test is being ran
      // manually, grant Notification permission and click on the notification.
      if (window.testRunner)
          testRunner.setPermission('notifications', 'granted', location.origin, location.origin);

      sharedWorkerTest("resources/click-event-test.js");
    </script>
  </body>
</html>