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

Unified Diff: LayoutTests/fast/notifications/notification-close.html

Issue 624033003: [WIP] Move Web Notifications to a WebFrame-less code path (Blink). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: current state Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/notifications/notification-close.html
diff --git a/LayoutTests/fast/notifications/notification-close.html b/LayoutTests/fast/notifications/notification-close.html
index ae399b78e9ed4fa7ab3f279c92e5a28b69178107..1f9a6aaca711ced577b98a9f88b969053dc6610d 100644
--- a/LayoutTests/fast/notifications/notification-close.html
+++ b/LayoutTests/fast/notifications/notification-close.html
@@ -5,12 +5,14 @@
</head>
<body>
<p>
- Tests that Notification.close() closes the notification, and the
- Notification.onclose event gets called.
+ Tests that Notification.close() closes the notification when called
+ from a document context, causing the Notification.onclose event to be
+ invoked.
</p>
<div id="console"></div>
<script src="resources/notification-close.js"></script>
<script>
+ var jsTestIsAsync = true;
if (window.testRunner) {
testRunner.grantWebNotificationPermission("file://", true);
testRunner.waitUntilDone();

Powered by Google App Engine
This is Rietveld 408576698