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

Unified Diff: LayoutTests/fast/notifications/notification-click-dedicated-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-click-dedicated-worker.html
diff --git a/LayoutTests/fast/notifications/notification-click.html b/LayoutTests/fast/notifications/notification-click-dedicated-worker.html
similarity index 62%
copy from LayoutTests/fast/notifications/notification-click.html
copy to LayoutTests/fast/notifications/notification-click-dedicated-worker.html
index e2aaab7c9ab043aefca9c3d75451c52312de26df..fe6143f3439cf5f5a155230b61d9823d58ee53d4 100644
--- a/LayoutTests/fast/notifications/notification-click.html
+++ b/LayoutTests/fast/notifications/notification-click-dedicated-worker.html
@@ -2,22 +2,22 @@
<html>
<head>
<script src="../../resources/js-test.js"></script>
+ <script src="resources/worker-tools.js"></script>
</head>
<body>
<p>
Tests that Notification.click() will result in the onclick event being
- called in a document context. When running this test manually, accept
- the permission and click on the shown notification.
+ called in a dedicated worker context. When running this test manually,
+ accept the permission and click on the shown notification.
</p>
<div id="console"></div>
- <script src="resources/notification-click.js"></script>
<script>
if (window.testRunner) {
testRunner.grantWebNotificationPermission("file://", true);
testRunner.waitUntilDone();
}
- runTest();
+ startWorkerTest('resources/notification-click.js', 'dedicated');
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698