Bug 1523562 [wpt PR 14789] - Update interfaces/encoding.idl, a=testonly
authorautofoolip <auto@foolip.org>
Thu, 31 Jan 2019 18:29:59 +0000
changeset 457936 8471c66c0593d5a157b9be95dfe12c4fd8a34324
parent 457935 dc50cb2aea515cb2f5e735a07630cbafb6b9ea79
child 457937 4d5605bb86c7ba0128a8be99852d93539cbf0fdf
push id35518
push useropoprus@mozilla.com
push dateFri, 08 Feb 2019 09:55:14 +0000
treeherdermozilla-central@3a3e393396f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1523562, 14789
milestone67.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 1523562 [wpt PR 14789] - Update interfaces/encoding.idl, a=testonly Automatic update from web-platform-tests Update interfaces/encoding.idl (#14789) Source: https://github.com/tidoust/reffy-reports/blob/0b25b9f/whatwg/idl/encoding.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/477693484 -- wpt-commits: 5835f1770f31db78085c4ba7af94901cd3953a19 wpt-pr: 14789
testing/web-platform/tests/interfaces/encoding.idl
--- a/testing/web-platform/tests/interfaces/encoding.idl
+++ b/testing/web-platform/tests/interfaces/encoding.idl
@@ -24,20 +24,26 @@ interface TextDecoder {
   USVString decode(optional BufferSource input, optional TextDecodeOptions options);
 };
 TextDecoder includes TextDecoderCommon;
 
 interface mixin TextEncoderCommon {
   readonly attribute DOMString encoding;
 };
 
+dictionary TextEncoderEncodeIntoResult {
+  unsigned long long read;
+  unsigned long long written;
+};
+
 [Constructor,
  Exposed=(Window,Worker)]
 interface TextEncoder {
   [NewObject] Uint8Array encode(optional USVString input = "");
+  TextEncoderEncodeIntoResult encodeInto(USVString source, Uint8Array destination);
 };
 TextEncoder includes TextEncoderCommon;
 
 interface mixin GenericTransformStream {
   readonly attribute ReadableStream readable;
   readonly attribute WritableStream writable;
 };