| Index: third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
|
| diff --git a/chrome/test/data/extensions/api_test/service_worker/update/v2/sw.js b/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
|
| similarity index 51%
|
| copy from chrome/test/data/extensions/api_test/service_worker/update/v2/sw.js
|
| copy to third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
|
| index a33255c974a272d2cd7100bdd3513b7594957db4..f2ee14e8ee41a5cad9f0be5a87a89fa6519770d8 100644
|
| --- a/chrome/test/data/extensions/api_test/service_worker/update/v2/sw.js
|
| +++ b/third_party/WebKit/Source/core/dom/IntersectionObserverInit.idl
|
| @@ -2,10 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -this.onmessage = function(e) {
|
| - e.ports[0].postMessage('Pong from version 2');
|
| -};
|
| +// TODO(szager): link to final spec
|
|
|
| -this.oninstall = function(e) {
|
| - e.waitUntil(self.skipWaiting());
|
| +dictionary IntersectionObserverInit {
|
| + Element? root;
|
| + DOMString rootMargin;
|
| + (double or double[]) threshold = 0;
|
| };
|
|
|