3 var notification = new Notification("Notification");
4 notification.addEventListener("show", function() {
5 testPassed("notification.onshow() has been called.");
7 testRunner.simulateWebNotificationClick("Notification");
10 notification.addEventListener("click", function() {
11 testPassed("notification.onclick() has been called.");
14 if (window.testRunner)
15 testRunner.notifyDone();