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

Unified Diff: LayoutTests/fast/notifications/resources/notification-close.js

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/resources/notification-close.js
diff --git a/LayoutTests/fast/notifications/resources/notification-close.js b/LayoutTests/fast/notifications/resources/notification-close.js
index d2139748ad8d7558456d9b59772802ac207007bf..fa9b9b8d35c1200fa4f0544c5914833046138cc0 100644
--- a/LayoutTests/fast/notifications/resources/notification-close.js
+++ b/LayoutTests/fast/notifications/resources/notification-close.js
@@ -1,3 +1,8 @@
+if (self.importScripts) {
+ importScripts('../../../resources/js-test.js');
+ importScripts('notification-worker.js');
+}
+
function runTest()
{
var notification = new Notification("Notification");
@@ -8,7 +13,6 @@ function runTest()
notification.addEventListener("close", function() {
testPassed("notification.onclose() has been called.");
- if (window.testRunner)
- testRunner.notifyDone();
+ finishJSTest();
});
}

Powered by Google App Engine
This is Rietveld 408576698