Bug 1576068 [wpt PR 18629] - Update interfaces/cssom-view.idl, a=testonly
authorautofoolip <auto@foolip.org>
Mon, 26 Aug 2019 11:30:49 +0000
changeset 553996 d9de138f7199ee0078f262653eb6ee2e4aaa0c7d
parent 553995 9bd905fa45981f5d3585741f41075cace09de86e
child 553997 3842950c1e45d64e4ba8c131a589d209e1619dad
push id2165
push userffxbld-merge
push dateMon, 14 Oct 2019 16:30:58 +0000
treeherdermozilla-release@0eae18af659f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1576068, 18629
milestone70.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 1576068 [wpt PR 18629] - Update interfaces/cssom-view.idl, a=testonly Automatic update from web-platform-tests Update interfaces/cssom-view.idl (#18629) Source: https://github.com/tidoust/reffy-reports/blob/39e9fa7/whatwg/idl/cssom-view.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/575681768 -- wpt-commits: 33c263fb308d1c3f6ac6d2590d7292317262819d wpt-pr: 18629
testing/web-platform/tests/interfaces/cssom-view.idl
--- a/testing/web-platform/tests/interfaces/cssom-view.idl
+++ b/testing/web-platform/tests/interfaces/cssom-view.idl
@@ -27,21 +27,21 @@ partial interface Window {
     [Replaceable] readonly attribute long innerWidth;
     [Replaceable] readonly attribute long innerHeight;
 
     // viewport scrolling
     [Replaceable] readonly attribute double scrollX;
     [Replaceable] readonly attribute double pageXOffset;
     [Replaceable] readonly attribute double scrollY;
     [Replaceable] readonly attribute double pageYOffset;
-    void scroll(optional ScrollToOptions options);
+    void scroll(optional ScrollToOptions options = {});
     void scroll(unrestricted double x, unrestricted double y);
-    void scrollTo(optional ScrollToOptions options);
+    void scrollTo(optional ScrollToOptions options = {});
     void scrollTo(unrestricted double x, unrestricted double y);
-    void scrollBy(optional ScrollToOptions options);
+    void scrollBy(optional ScrollToOptions options = {});
     void scrollBy(unrestricted double x, unrestricted double y);
 
     // client
     [Replaceable] readonly attribute long screenX;
     [Replaceable] readonly attribute long screenLeft;
     [Replaceable] readonly attribute long screenY;
     [Replaceable] readonly attribute long screenTop;
     [Replaceable] readonly attribute long outerWidth;
@@ -54,17 +54,17 @@ interface MediaQueryList : EventTarget {
   readonly attribute CSSOMString media;
   readonly attribute boolean matches;
   void addListener(EventListener? listener);
   void removeListener(EventListener? listener);
            attribute EventHandler onchange;
 };
 
 [Exposed=Window,
- Constructor(CSSOMString type, optional MediaQueryListEventInit eventInitDict)]
+ Constructor(CSSOMString type, optional MediaQueryListEventInit eventInitDict = {})]
 interface MediaQueryListEvent : Event {
   readonly attribute CSSOMString media;
   readonly attribute boolean matches;
 };
 
 dictionary MediaQueryListEventInit : EventInit {
   CSSOMString media = "";
   boolean matches = false;
@@ -98,22 +98,22 @@ enum ScrollLogicalPosition { "start", "c
 dictionary ScrollIntoViewOptions : ScrollOptions {
   ScrollLogicalPosition block = "start";
   ScrollLogicalPosition inline = "nearest";
 };
 
 partial interface Element {
   DOMRectList getClientRects();
   [NewObject] DOMRect getBoundingClientRect();
-  void scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg);
-  void scroll(optional ScrollToOptions options);
+  void scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
+  void scroll(optional ScrollToOptions options = {});
   void scroll(unrestricted double x, unrestricted double y);
-  void scrollTo(optional ScrollToOptions options);
+  void scrollTo(optional ScrollToOptions options = {});
   void scrollTo(unrestricted double x, unrestricted double y);
-  void scrollBy(optional ScrollToOptions options);
+  void scrollBy(optional ScrollToOptions options = {});
   void scrollBy(unrestricted double x, unrestricted double y);
   attribute unrestricted double scrollTop;
   attribute unrestricted double scrollLeft;
   readonly attribute long scrollWidth;
   readonly attribute long scrollHeight;
   readonly attribute long clientTop;
   readonly attribute long clientLeft;
   readonly attribute long clientWidth;
@@ -165,20 +165,20 @@ dictionary BoxQuadOptions {
 };
 
 dictionary ConvertCoordinateOptions {
   CSSBoxType fromBox = "border";
   CSSBoxType toBox = "border";
 };
 
 interface mixin GeometryUtils {
-  sequence<DOMQuad> getBoxQuads(optional BoxQuadOptions options);
-  DOMQuad convertQuadFromNode(DOMQuadInit quad, GeometryNode from, optional ConvertCoordinateOptions options);
-  DOMQuad convertRectFromNode(DOMRectReadOnly rect, GeometryNode from, optional ConvertCoordinateOptions options);
-  DOMPoint convertPointFromNode(DOMPointInit point, GeometryNode from, optional ConvertCoordinateOptions options); // XXX z,w turns into 0
+  sequence<DOMQuad> getBoxQuads(optional BoxQuadOptions options = {});
+  DOMQuad convertQuadFromNode(DOMQuadInit quad, GeometryNode from, optional ConvertCoordinateOptions options = {});
+  DOMQuad convertRectFromNode(DOMRectReadOnly rect, GeometryNode from, optional ConvertCoordinateOptions options = {});
+  DOMPoint convertPointFromNode(DOMPointInit point, GeometryNode from, optional ConvertCoordinateOptions options = {}); // XXX z,w turns into 0
 };
 
 Text includes GeometryUtils; // like Range
 Element includes GeometryUtils;
 CSSPseudoElement includes GeometryUtils;
 Document includes GeometryUtils;
 
 typedef (Text or Element or CSSPseudoElement or Document) GeometryNode;