mirror of
https://github.com/servo/servo.git
synced 2025-08-17 19:35:33 +01:00
Auto merge of #19073 - servo:encoding-rs, r=SimonSapin
Use encoding-rs instead of rust-encoding <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19073) <!-- Reviewable:end -->
This commit is contained in:
commit
994ff4b66e
29 changed files with 165 additions and 516 deletions
|
@ -1,5 +0,0 @@
|
|||
[send-receive-utf16.htm]
|
||||
type: testharness
|
||||
[UTF-16 with BOM, no encoding in content-type]
|
||||
expected: FAIL
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
[iso-2022-jp-decoder.html]
|
||||
type: testharness
|
||||
bug: https://github.com/servo/servo/issues/13239
|
||||
[iso-2022-jp decoder: Error ESC]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Double ASCII ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: SO / SI]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Roman ESC, characters]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Roman ESC, SO / SI]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Katakana ESC, multibyte ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Katakana ESC, error ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Katakana ESC, error ESC #2, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Multibyte ESC, error ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Double multibyte ESC]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Double multibyte ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Double multibyte ESC #2, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Multibyte ESC, error ESC #2, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Multibyte ESC, single byte, multibyte ESC, character]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: Multibyte ESC, lead error byte]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-jp decoder: character, error ESC #2]
|
||||
expected: FAIL
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
[replacement-encodings.html]
|
||||
type: testharness
|
||||
[csiso2022kr - non-empty input decodes to one replacement character.]
|
||||
expected: FAIL
|
||||
|
||||
[hz-gb-2312 - non-empty input decodes to one replacement character.]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-cn - non-empty input decodes to one replacement character.]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-cn-ext - non-empty input decodes to one replacement character.]
|
||||
expected: FAIL
|
||||
|
||||
[iso-2022-kr - non-empty input decodes to one replacement character.]
|
||||
expected: FAIL
|
||||
|
||||
[replacement - non-empty input decodes to one replacement character.]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
[textdecoder-fatal-single-byte.html]
|
||||
type: testharness
|
||||
[Not throw: windows-1255 has a pointer 202]
|
||||
expected: FAIL
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
[textdecoder-labels.html]
|
||||
type: testharness
|
||||
bug: https://github.com/servo/servo/issues/13232
|
||||
["ms932" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
[" ms932" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["ms932 " => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
[" ms932 " => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["\\tms932" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["ms932\\t" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["\\tms932\\t" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["\\nms932" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["ms932\\n" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["\\nms932\\n" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["\\fms932" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["ms932\\f" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["\\fms932\\f" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["\\rms932" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["ms932\\r" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
["\\rms932\\r" => "shift_jis"]
|
||||
expected: FAIL
|
||||
|
||||
[ms932 => shift_jis]
|
||||
expected: FAIL
|
||||
|
||||
[koi8-ru => KOI8-U]
|
||||
expected: FAIL
|
||||
|
||||
[ms932 => Shift_JIS]
|
||||
expected: FAIL
|
||||
|
|
@ -1,17 +1,5 @@
|
|||
[unsupported-encodings.html]
|
||||
type: testharness
|
||||
[UTF-32 with BOM should decode as UTF-16LE]
|
||||
expected: FAIL
|
||||
|
||||
[utf-32 with BOM should decode as UTF-16LE]
|
||||
expected: FAIL
|
||||
|
||||
[UTF-32LE with BOM should decode as UTF-16LE]
|
||||
expected: FAIL
|
||||
|
||||
[utf-32le with BOM should decode as UTF-16LE]
|
||||
expected: FAIL
|
||||
|
||||
[UTF-32be with BOM should decode as windows-1252]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[location-origin-idna.sub.window.html]
|
||||
type: testharness
|
||||
[Test that location.origin returns ASCII]
|
||||
expected: FAIL
|
||||
|
|
@ -9,12 +9,6 @@
|
|||
[Parsing origin: <http://你好你好> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing origin: <http://./> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing origin: <http://../> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing origin: <ftp://%e2%98%83> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -9,12 +9,6 @@
|
|||
[Parsing origin: <http://你好你好> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing origin: <http://./> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing origin: <http://../> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing origin: <ftp://%e2%98%83> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -45,18 +45,6 @@
|
|||
[Parsing: <http://:@www.example.com> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://[::1.2.3.4x\]> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://[::1.2.3.\]> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://[::1.2.\]> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://[::1.\]> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <sc://ñ.test/> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -174,12 +162,6 @@
|
|||
[Parsing: <file://[1::8\]/C:/> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://./> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://../> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <https://0x100000000/test> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -45,18 +45,6 @@
|
|||
[Parsing: <http://:@www.example.com> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://[::1.2.3.4x\]> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://[::1.2.3.\]> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://[::1.2.\]> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://[::1.\]> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <sc://ñ.test/> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -174,12 +162,6 @@
|
|||
[Parsing: <file://[1::8\]/C:/> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://./> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://../> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <https://0x100000000/test> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -381,3 +381,21 @@
|
|||
[01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.01234567890123456789012345678901234567890123456789.0123456789012345678901234567890123456789012345678.β (using <area>.hostname)]
|
||||
expected: FAIL
|
||||
|
||||
[xn--1ug.example (using URL)]
|
||||
expected: FAIL
|
||||
|
||||
[xn--1ug.example (using URL.host)]
|
||||
expected: FAIL
|
||||
|
||||
[xn--1ug.example (using URL.hostname)]
|
||||
expected: FAIL
|
||||
|
||||
[xn--1ug.example (using <a>)]
|
||||
expected: FAIL
|
||||
|
||||
[xn--1ug.example (using <a>.host)]
|
||||
expected: FAIL
|
||||
|
||||
[xn--1ug.example (using <a>.hostname)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -45,18 +45,6 @@
|
|||
[Parsing: <http://:@www.example.com> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://[::1.2.3.4x\]> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://[::1.2.3.\]> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://[::1.2.\]> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://[::1.\]> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <sc://ñ.test/> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -174,12 +162,6 @@
|
|||
[Parsing: <file://[1::8\]/C:/> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://./> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <http://../> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Parsing: <https://0x100000000/test> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -6,18 +6,3 @@
|
|||
[Origin parsing: <https://faß.ExAmPlE/> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Origin parsing: <http://你好你好> against <http://other.com/>]
|
||||
expected: FAIL
|
||||
|
||||
[Origin parsing: <http://./> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Origin parsing: <http://../> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Origin parsing: <ftp://%e2%98%83> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
[Origin parsing: <https://%e2%98%83> against <about:blank>]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -567,39 +567,15 @@
|
|||
[<area>: Setting <http://example.net/>.host = '[google.com\]' Broken IPv6]
|
||||
expected: FAIL
|
||||
|
||||
[URL: Setting <http://example.net/>.host = '[::1.2.3.4x\]']
|
||||
expected: FAIL
|
||||
|
||||
[<a>: Setting <http://example.net/>.host = '[::1.2.3.4x\]']
|
||||
expected: FAIL
|
||||
|
||||
[<area>: Setting <http://example.net/>.host = '[::1.2.3.4x\]']
|
||||
expected: FAIL
|
||||
|
||||
[URL: Setting <http://example.net/>.host = '[::1.2.3.\]']
|
||||
expected: FAIL
|
||||
|
||||
[<a>: Setting <http://example.net/>.host = '[::1.2.3.\]']
|
||||
expected: FAIL
|
||||
|
||||
[<area>: Setting <http://example.net/>.host = '[::1.2.3.\]']
|
||||
expected: FAIL
|
||||
|
||||
[URL: Setting <http://example.net/>.host = '[::1.2.\]']
|
||||
expected: FAIL
|
||||
|
||||
[<a>: Setting <http://example.net/>.host = '[::1.2.\]']
|
||||
expected: FAIL
|
||||
|
||||
[<area>: Setting <http://example.net/>.host = '[::1.2.\]']
|
||||
expected: FAIL
|
||||
|
||||
[URL: Setting <http://example.net/>.host = '[::1.\]']
|
||||
expected: FAIL
|
||||
|
||||
[<a>: Setting <http://example.net/>.host = '[::1.\]']
|
||||
expected: FAIL
|
||||
|
||||
[<area>: Setting <http://example.net/>.host = '[::1.\]']
|
||||
expected: FAIL
|
||||
|
||||
|
@ -648,39 +624,15 @@
|
|||
[<area>: Setting <http://example.net/>.hostname = '[google.com\]' Broken IPv6]
|
||||
expected: FAIL
|
||||
|
||||
[URL: Setting <http://example.net/>.hostname = '[::1.2.3.4x\]']
|
||||
expected: FAIL
|
||||
|
||||
[<a>: Setting <http://example.net/>.hostname = '[::1.2.3.4x\]']
|
||||
expected: FAIL
|
||||
|
||||
[<area>: Setting <http://example.net/>.hostname = '[::1.2.3.4x\]']
|
||||
expected: FAIL
|
||||
|
||||
[URL: Setting <http://example.net/>.hostname = '[::1.2.3.\]']
|
||||
expected: FAIL
|
||||
|
||||
[<a>: Setting <http://example.net/>.hostname = '[::1.2.3.\]']
|
||||
expected: FAIL
|
||||
|
||||
[<area>: Setting <http://example.net/>.hostname = '[::1.2.3.\]']
|
||||
expected: FAIL
|
||||
|
||||
[URL: Setting <http://example.net/>.hostname = '[::1.2.\]']
|
||||
expected: FAIL
|
||||
|
||||
[<a>: Setting <http://example.net/>.hostname = '[::1.2.\]']
|
||||
expected: FAIL
|
||||
|
||||
[<area>: Setting <http://example.net/>.hostname = '[::1.2.\]']
|
||||
expected: FAIL
|
||||
|
||||
[URL: Setting <http://example.net/>.hostname = '[::1.\]']
|
||||
expected: FAIL
|
||||
|
||||
[<a>: Setting <http://example.net/>.hostname = '[::1.\]']
|
||||
expected: FAIL
|
||||
|
||||
[<area>: Setting <http://example.net/>.hostname = '[::1.\]']
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue