Index: chrome/test/data/extensions/api_test/service_worker/update/v2/sw.js |
diff --git a/mojo/public/interfaces/bindings/tests/scoping.mojom b/chrome/test/data/extensions/api_test/service_worker/update/v2/sw.js |
similarity index 54% |
copy from mojo/public/interfaces/bindings/tests/scoping.mojom |
copy to chrome/test/data/extensions/api_test/service_worker/update/v2/sw.js |
index 2e9edb10b4eddfca591bdf64966238b9a75fbe2f..a33255c974a272d2cd7100bdd3513b7594957db4 100644 |
--- a/mojo/public/interfaces/bindings/tests/scoping.mojom |
+++ b/chrome/test/data/extensions/api_test/service_worker/update/v2/sw.js |
@@ -2,16 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-module mojo.test; |
- |
-interface A { |
- GetB(B& b); |
-}; |
- |
-interface B { |
- GetC(C& c); |
+this.onmessage = function(e) { |
+ e.ports[0].postMessage('Pong from version 2'); |
}; |
-interface C { |
- D(); |
+this.oninstall = function(e) { |
+ e.waitUntil(self.skipWaiting()); |
}; |