Bug 1635541 [wpt PR 23408] - Update interfaces/html.idl, a=testonly
authorautofoolip <auto@foolip.org>
Wed, 13 May 2020 09:40:48 +0000
changeset 531072 42b58e50cb9a548de6b4f27f19c278e98bccff03
parent 531071 33221905ea153a8c268bedd5d15a2a758e27facb
child 531073 a25f8fc2cbc1ed6f5a865e40fd48c3676f8a2483
push id37435
push userapavel@mozilla.com
push dateWed, 20 May 2020 15:28:23 +0000
treeherdermozilla-central@5415da14ec9a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1635541, 23408
milestone78.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 1635541 [wpt PR 23408] - Update interfaces/html.idl, a=testonly Automatic update from web-platform-tests Update interfaces/html.idl (#23408) Source: https://github.com/tidoust/reffy-reports/blob/8903dbd/ed/idl/html.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/683358012 -- wpt-commits: 7fab1c9029e800b8c199cab393fcd6a7ea85ee61 wpt-pr: 23408
testing/web-platform/tests/interfaces/html.idl
--- a/testing/web-platform/tests/interfaces/html.idl
+++ b/testing/web-platform/tests/interfaces/html.idl
@@ -1499,17 +1499,17 @@ dictionary ElementDefinitionOptions {
 interface ElementInternals {
   // Form-associated custom elements
 
   void setFormValue((File or USVString or FormData)? value,
                     optional (File or USVString or FormData)? state);
 
   readonly attribute HTMLFormElement? form;
 
-  void setValidity(ValidityStateFlags flags,
+  void setValidity(optional ValidityStateFlags flags = {},
                    optional DOMString message,
                    optional HTMLElement anchor);
   readonly attribute boolean willValidate;
   readonly attribute ValidityState validity;
   readonly attribute DOMString validationMessage;
   boolean checkValidity();
   boolean reportValidity();