chromium/third_party/blink/web_tests/http/tests/notifications/show-document.html

<!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>
    <script src="../resources/permissions-helper.js"></script>
  </head>
  <body>
    <script>
      // Tests that Document-bound notifications will have their onshow event
      // fired when they're created. When the test is being run manually, grant
      // notification permission when prompted.
      PermissionsHelper.setPermission('notifications', 'granted').then(function() {
          var script = document.createElement('script');
          script.src = 'resources/show-event-test.js';
          document.body.appendChild(script);
      });
    </script>
  </body>
</html>