mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Implement TextDecoder#decode.
This commit is contained in:
parent
c0d4e27d79
commit
e2929403ef
8 changed files with 37 additions and 142 deletions
|
@ -1,20 +0,0 @@
|
|||
[api-surrogates-utf8.html]
|
||||
type: testharness
|
||||
[Invalid surrogates encoded into UTF-8: Sanity check]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid surrogates encoded into UTF-8: Surrogate half (low)]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid surrogates encoded into UTF-8: Surrogate half (high)]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid surrogates encoded into UTF-8: Surrogate half (low), in a string]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid surrogates encoded into UTF-8: Surrogate half (high), in a string]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid surrogates encoded into UTF-8: Wrong order]
|
||||
expected: FAIL
|
||||
|
|
@ -12,12 +12,6 @@
|
|||
[TextDecoder interface: new TextDecoder() must inherit property "ignoreBOM" with the proper type (2)]
|
||||
expected: FAIL
|
||||
|
||||
[TextDecoder interface: new TextDecoder() must inherit property "decode" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
[TextDecoder interface: calling decode(BufferSource,TextDecodeOptions) on new TextDecoder() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[TextEncoder interface object length]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3,21 +3,12 @@
|
|||
[iso-2022-jp decoder: Error ESC]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Error ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: ASCII ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Double ASCII ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: character, ASCII ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: characters]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: SO / SI]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -27,12 +18,6 @@
|
|||
[iso-2022-jp decoder: Roman ESC, SO / SI]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Roman ESC, error ESC, Katakana ESC]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Katakana ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Katakana ESC, multibyte ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -42,18 +27,6 @@
|
|||
[iso-2022-jp decoder: Katakana ESC, error ESC #2, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Katakana ESC, character, Katakana ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Katakana ESC, SO / SI]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Multibyte ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Multibyte ESC #2, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Multibyte ESC, error ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -75,30 +48,6 @@
|
|||
[iso-2022-jp decoder: Multibyte ESC, lead error byte]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Multibyte ESC, trail error byte]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: character, error ESC]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: character, error ESC #2]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: character, error ESC #3]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: character, ASCII ESC]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: character, Roman ESC]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: character, Katakana ESC]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: character, Multibyte ESC]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: character, Multibyte ESC #2]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,47 +1,20 @@
|
|||
[textdecoder-streaming.html]
|
||||
type: testharness
|
||||
[Streaming decode: utf-8, 1 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-8, 2 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-8, 3 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-8, 4 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-8, 5 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-16le, 1 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-16le, 2 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-16le, 3 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-16le, 4 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-16le, 5 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-16be, 1 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-16be, 2 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-16be, 3 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-16be, 4 byte window]
|
||||
expected: FAIL
|
||||
|
||||
[Streaming decode: utf-16be, 5 byte window]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
[textdecoder-utf16-surrogates.html]
|
||||
type: testharness
|
||||
[utf-16le - lone surrogate lead]
|
||||
expected: FAIL
|
||||
|
||||
[utf-16le - lone surrogate trail]
|
||||
expected: FAIL
|
||||
|
||||
[utf-16le - unmatched surrogate lead]
|
||||
expected: FAIL
|
||||
|
||||
[utf-16le - unmatched surrogate trail]
|
||||
expected: FAIL
|
||||
|
||||
[utf-16le - swapped surrogate pair]
|
||||
expected: FAIL
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
[textencoder-utf16-surrogates.html]
|
||||
type: testharness
|
||||
[USVString handling: lone surrogate lead]
|
||||
expected: FAIL
|
||||
|
||||
[USVString handling: lone surrogate trail]
|
||||
expected: FAIL
|
||||
|
||||
[USVString handling: unmatched surrogate lead]
|
||||
expected: FAIL
|
||||
|
||||
[USVString handling: unmatched surrogate trail]
|
||||
expected: FAIL
|
||||
|
||||
[USVString handling: swapped surrogate pair]
|
||||
expected: FAIL
|
||||
|
||||
[USVString handling: properly encoded MUSICAL SYMBOL G CLEF (U+1D11E)]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue