3 var notification = new Notification("Notification");
4 notification.addEventListener("show", function() {
5 testPassed("notification.onshow() has been called.");
9 notification.addEventListener("close", function() {
10 testPassed("notification.onclose() has been called.");
11 if (window.testRunner)
12 testRunner.notifyDone();