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:
minghuaw 2025-08-15 15:57:00 +08:00 committed by GitHub
parent f24f225db8
commit d409137e4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 476 additions and 228 deletions

View file

@ -5,50 +5,8 @@
expected: ERROR
[idlharness.any.html]
[TextEncoderStream interface: existence and properties of interface object]
expected: FAIL
[TextEncoderStream interface object length]
expected: FAIL
[TextEncoderStream interface object name]
expected: FAIL
[TextEncoderStream interface: existence and properties of interface prototype object]
expected: FAIL
[TextEncoderStream interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[TextEncoderStream interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[TextEncoderStream interface: attribute encoding]
expected: FAIL
[idlharness.any.worker.html]
[TextEncoderStream interface: existence and properties of interface object]
expected: FAIL
[TextEncoderStream interface object length]
expected: FAIL
[TextEncoderStream interface object name]
expected: FAIL
[TextEncoderStream interface: existence and properties of interface prototype object]
expected: FAIL
[TextEncoderStream interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[TextEncoderStream interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[TextEncoderStream interface: attribute encoding]
expected: FAIL
[idlharness.any.shadowrealm-in-window.html]
expected: ERROR