blob: bad54b024d137b47f2016c849e121d0eb50af899 [file] [log] [blame]
This tests that a notification shown by a service worker can be clicked and closed, with those actions being observable by the service worker
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS Notification.permission is "granted"
PASS gotClicked is false
PASS gotClosed is false
PASS gotClicked is true
PASS gotClosed is false
PASS Close has been observed