Bug 1660151 [wpt PR 25129] - Update interfaces/resize-observer.idl, a=testonly
authorautofoolip <auto@foolip.org>
Wed, 26 Aug 2020 08:49:21 +0000
changeset 546430 861d447c35d89807d3b9147e159dab2c6dde1797
parent 546429 195fb8fa8d93547775111d9524f56a212d01c136
child 546431 266878ddf004d153a36db6623b8642d1ee98db30
push id37735
push userabutkovits@mozilla.com
push dateThu, 27 Aug 2020 21:29:40 +0000
treeherdermozilla-central@109f3a4de567 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1660151, 25129
milestone82.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1660151 [wpt PR 25129] - Update interfaces/resize-observer.idl, a=testonly Automatic update from web-platform-tests Update interfaces/resize-observer.idl (#25129) Source: https://github.com/tidoust/reffy-reports/blob/4cba804/ed/idl/resize-observer.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/719138445 -- wpt-commits: 374d6d9af6ed88a9031155dae9a04757d2111d9e wpt-pr: 25129
testing/web-platform/tests/interfaces/resize-observer.idl
--- a/testing/web-platform/tests/interfaces/resize-observer.idl
+++ b/testing/web-platform/tests/interfaces/resize-observer.idl
@@ -9,32 +9,33 @@ enum ResizeObserverBoxOptions {
 
 dictionary ResizeObserverOptions {
     ResizeObserverBoxOptions box = "content-box";
 };
 
 [Exposed=(Window)]
 interface ResizeObserver {
     constructor(ResizeObserverCallback callback);
-    void observe(Element target, optional ResizeObserverOptions options);
-    void unobserve(Element target);
-    void disconnect();
+    undefined observe(Element target, optional ResizeObserverOptions options = {});
+    undefined unobserve(Element target);
+    undefined disconnect();
 };
 
-callback ResizeObserverCallback = void (sequence<ResizeObserverEntry> entries, ResizeObserver observer);
+callback ResizeObserverCallback = undefined (sequence<ResizeObserverEntry> entries, ResizeObserver observer);
 
 [Exposed=Window]
 interface ResizeObserverEntry {
     readonly attribute Element target;
     readonly attribute DOMRectReadOnly contentRect;
     readonly attribute FrozenArray<ResizeObserverSize> borderBoxSize;
     readonly attribute FrozenArray<ResizeObserverSize> contentBoxSize;
     readonly attribute FrozenArray<ResizeObserverSize> devicePixelContentBoxSize;
 };
 
+[Exposed=Window]
 interface ResizeObserverSize {
     readonly attribute unrestricted double inlineSize;
     readonly attribute unrestricted double blockSize;
 };
 
 interface ResizeObservation {
     constructor(Element target);
     readonly attribute Element target;