Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: LayoutTests/fast/notifications/notifications-leak-documents.html

Issue 186713002: Add new layout tests for the Web Notification API. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update existing tests Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698