| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> |
| 5 <script src="../../resources/leak-check.js"></script> |
| 6 </head> |
| 7 <body> |
| 8 <p> |
| 9 Tests that creating and then closing a notification will not keep a docume
nt |
| 10 alive. This test cannot be ran manually. |
| 11 </p> |
| 12 <div id="console"></div> |
| 13 <script> |
| 14 if (!window.testRunner) { |
| 15 testFailed("This test depends on the test runner to run a leak test."); |
| 16 } else { |
| 17 testRunner.grantWebNotificationPermission("file://", true); |
| 18 var tolerance = { |
| 19 "numberOfLiveDocuments": 0 |
| 20 }; |
| 21 |
| 22 doLeakTest("resources/show-notification.html", tolerance); |
| 23 } |
| 24 </script> |
| 25 </body> |
| 26 </body> |
| OLD | NEW |