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

Unified Diff: chrome/test/data/extensions/api_test/service_worker/update/v1/sw.js

Issue 1432823003: Add a test to cover service worker update codepath when extension is updated (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test updated Created 5 years, 1 month 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: chrome/test/data/extensions/api_test/service_worker/update/v1/sw.js
diff --git a/components/web_view/test_runner/public/interfaces/layout_test_runner.mojom b/chrome/test/data/extensions/api_test/service_worker/update/v1/sw.js
similarity index 67%
copy from components/web_view/test_runner/public/interfaces/layout_test_runner.mojom
copy to chrome/test/data/extensions/api_test/service_worker/update/v1/sw.js
index 22fdffaff13479b668df2cd1c157e83681778bc8..bd883706d6a444d07c84851be948e87c8eb7e172 100644
--- a/components/web_view/test_runner/public/interfaces/layout_test_runner.mojom
+++ b/chrome/test/data/extensions/api_test/service_worker/update/v1/sw.js
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module web_view;
-
-interface LayoutTestRunner {
- TestFinished();
+this.onmessage = function(e) {
+ e.ports[0].postMessage('Pong from version 1');
};

Powered by Google App Engine
This is Rietveld 408576698