Index: third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl |
diff --git a/chrome/test/data/extensions/api_test/service_worker/background/post_message_to_sw.js b/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl |
similarity index 56% |
copy from chrome/test/data/extensions/api_test/service_worker/background/post_message_to_sw.js |
copy to third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl |
index be9ae08c6fd493a13f15b480a483529f122d1872..392bedd04d7643bfd343c41324eb0b183b87e49d 100644 |
--- a/chrome/test/data/extensions/api_test/service_worker/background/post_message_to_sw.js |
+++ b/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-'use strict'; |
+// Spec: http://dom.spec.whatwg.org/#idl-def-IntersectionObserverInit |
-self.onmessage = function(e) { |
- e.data.port.postMessage(e.data.message); |
+dictionary IntersectionObserverInit { |
+ Element? viewport; |
}; |