mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
Script: Implement TextEncoderStream
(#38466)
This implements the `TextEncoderStream` WebIDL interface. Testing: Existing WPT tests should be sufficient Fixes: #37724 --------- Signed-off-by: minghuaw <wuminghua7@huawei.com>
This commit is contained in:
parent
f24f225db8
commit
d409137e4c
17 changed files with 476 additions and 228 deletions
15
components/script_bindings/webidls/TextEncoderStream.webidl
Normal file
15
components/script_bindings/webidls/TextEncoderStream.webidl
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/*
|
||||
* For more information on this interface please see
|
||||
* https://encoding.spec.whatwg.org/#textencoderstream
|
||||
*/
|
||||
|
||||
[Exposed=*]
|
||||
interface TextEncoderStream {
|
||||
[Throws] constructor();
|
||||
};
|
||||
TextEncoderStream includes TextEncoderCommon;
|
||||
TextEncoderStream includes GenericTransformStream;
|
Loading…
Add table
Add a link
Reference in a new issue