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

Unified Diff: LayoutTests/fast/notifications/notification-replace-shared-worker.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-replace-shared-worker.html
diff --git a/LayoutTests/fast/notifications/notification-replace.html b/LayoutTests/fast/notifications/notification-replace-shared-worker.html
similarity index 56%
copy from LayoutTests/fast/notifications/notification-replace.html
copy to LayoutTests/fast/notifications/notification-replace-shared-worker.html
index c569bcb093a33ba3700cb6c55ef65d46c2dd154d..8f4e8c07374f97cfd236973fcbb837670f7717b6 100644
--- a/LayoutTests/fast/notifications/notification-replace.html
+++ b/LayoutTests/fast/notifications/notification-replace-shared-worker.html
@@ -2,23 +2,23 @@
<html>
<head>
<script src="../../resources/js-test.js"></script>
+ <script src="resources/worker-tools.js"></script>
</head>
<body>
<p>
Tests that it is possible to replace existing notifications using
- the "tag" property of a Web Notification object. When running this
- test manually, verify that the title of the shown notification is
- updated to read "Notification 2".
+ the "tag" property of a Web Notification object from the shared
+ worker context. When running this test manually, verify that the
+ title of the shown notification is updated to read "Notification 2".
</p>
<div id="console"></div>
- <script src="resources/notification-replace.js"></script>
<script>
if (window.testRunner) {
testRunner.grantWebNotificationPermission("file://", true);
testRunner.waitUntilDone();
}
- runTest();
+ startWorkerTest('resources/notification-replace.js', 'shared');
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698