4 <title>Verifies that double-closing a notification doesn't crash.
</title>
9 function createNotification(iconUrl
, title
, text
, tag
) {
10 var notification
= new Notification(title
, {
16 notification
.onshow = function() {
17 window
.domAutomationController
.send("0"); // success
20 notification
.onerror = function() {
21 window
.domAutomationController
.send("-1"); // failure
24 notification
.onclose = function() {