Bug 1572921 [wpt PR 18370] - Update interfaces/encoding.idl, a=testonly
authorautofoolip <auto@foolip.org>
Wed, 14 Aug 2019 10:54:45 +0000
changeset 488092 0eae879f24bf6ba893f76cca022298b15d969bc7
parent 488091 1cebcb175639c8df574e01ba55064693b34d8a0e
child 488093 687e3e948bdd370e9d0b238376202c28168079bc
push id36435
push usercbrindusan@mozilla.com
push dateThu, 15 Aug 2019 09:46:49 +0000
treeherdermozilla-central@0db07ff50ab5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1572921, 18370
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 1572921 [wpt PR 18370] - Update interfaces/encoding.idl, a=testonly Automatic update from web-platform-tests Update interfaces/encoding.idl (#18370) Source: https://github.com/tidoust/reffy-reports/blob/3336bd0/whatwg/idl/encoding.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/570123391 -- wpt-commits: ce80e7c1cd5016704ae8659afaa353d902f88248 wpt-pr: 18370
testing/web-platform/tests/interfaces/encoding.idl
--- a/testing/web-platform/tests/interfaces/encoding.idl
+++ b/testing/web-platform/tests/interfaces/encoding.idl
@@ -13,20 +13,20 @@ dictionary TextDecoderOptions {
   boolean fatal = false;
   boolean ignoreBOM = false;
 };
 
 dictionary TextDecodeOptions {
   boolean stream = false;
 };
 
-[Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options),
+[Constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {}),
  Exposed=(Window,Worker)]
 interface TextDecoder {
-  USVString decode(optional BufferSource input, optional TextDecodeOptions options);
+  USVString decode(optional BufferSource input, optional TextDecodeOptions options = {});
 };
 TextDecoder includes TextDecoderCommon;
 
 interface mixin TextEncoderCommon {
   readonly attribute DOMString encoding;
 };
 
 dictionary TextEncoderEncodeIntoResult {