| Index: LayoutTests/fast/encoding/api/ascii-supersets-expected.txt
|
| diff --git a/LayoutTests/fast/encoding/api/ascii-supersets-expected.txt b/LayoutTests/fast/encoding/api/ascii-supersets-expected.txt
|
| index f27ac86bc408a45643ec114147d8f18008700254..96f4c6da0446be5d5c94f072eccfa54f6418b715 100644
|
| --- a/LayoutTests/fast/encoding/api/ascii-supersets-expected.txt
|
| +++ b/LayoutTests/fast/encoding/api/ascii-supersets-expected.txt
|
| @@ -1,122 +1,50 @@
|
| -Supersets of ASCII decode ASCII correctly
|
| -
|
| -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| -
|
| -
|
| -decoder = new TextDecoder("ibm866")
|
| -FAIL decoder = new TextDecoder("ibm866") threw exception TypeError: Failed to construct 'TextDecoder': The encoding label provided ('ibm866') is invalid.
|
| -decoder = new TextDecoder("iso-8859-2")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-8859-3")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-8859-4")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-8859-5")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-8859-6")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-8859-7")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-8859-8")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-8859-8-i")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-8859-10")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-8859-13")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-8859-14")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-8859-15")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-8859-16")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("koi8-r")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("koi8-u")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("macintosh")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("windows-874")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("windows-1250")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("windows-1251")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("windows-1252")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("windows-1253")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("windows-1254")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("windows-1255")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("windows-1256")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("windows-1257")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("windows-1258")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("x-mac-cyrillic")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("gbk")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("gb18030")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("hz-gb-2312")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("big5")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("euc-jp")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-2022-jp")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -FAIL encodeURIComponent(string) should be %00%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%EF%BF%BD%EF%BF%BD%10%11%12%13%14%15%16%17%18%19%1A%1C%1D%1E%1F%20!%22%23%24%25%26'()*%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%40ABCDEFGHIJKLMNOPQRSTUVWXYZ%5B%5C%5D%5E_%60abcdefghijklmnopqrstuvwxyz%7B%7C%7D~%7F. Was %00%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F%10%11%12%13%14%15%16%17%18%19%1A%1C%1D%1E%1F%20!%22%23%24%25%26'()*%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%40ABCDEFGHIJKLMNOPQRSTUVWXYZ%5B%5C%5D%5E_%60abcdefghijklmnopqrstuvwxyz%7B%7C%7D~%7F.
|
| -decoder = new TextDecoder("shift_jis")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -FAIL encodeURIComponent(string) should be %00%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F%10%11%12%13%14%15%16%17%18%19%1C%1B%7F%1D%1E%1F%20!%22%23%24%25%26'()*%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%40ABCDEFGHIJKLMNOPQRSTUVWXYZ%5B%5C%5D%5E_%60abcdefghijklmnopqrstuvwxyz%7B%7C%7D~%1A. Was %00%01%02%03%04%05%06%07%08%09%0A%0B%0C%0D%0E%0F%10%11%12%13%14%15%16%17%18%19%1A%1B%1C%1D%1E%1F%20!%22%23%24%25%26'()*%2B%2C-.%2F0123456789%3A%3B%3C%3D%3E%3F%40ABCDEFGHIJKLMNOPQRSTUVWXYZ%5B%5C%5D%5E_%60abcdefghijklmnopqrstuvwxyz%7B%7C%7D~%7F.
|
| -decoder = new TextDecoder("euc-kr")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("iso-2022-kr")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -decoder = new TextDecoder("x-user-defined")
|
| -decoded = decoder.decode(new Uint8Array(bytes))
|
| -PASS encodeURIComponent(string) is encodeURIComponent(decoded)
|
| -PASS successfullyParsed is true
|
| -
|
| -TEST COMPLETE
|
| +This is a testharness.js-based test.
|
| +FAIL ASCII superset encoding: ibm866 Failed to construct 'TextDecoder': The encoding label provided ('ibm866') is invalid.(stack: TypeError: Failed to construct 'TextDecoder': The encoding label provided ('ibm866') is invalid.
|
| + at TypeError (native)
|
| + at Object.<anonymous> (file:///usr/local/google/home/jsbell/google/chromium/src/third_party/WebKit/LayoutTests/fast/encoding/api/ascii-supersets.html:32:27)
|
| + at Object.Test.step (file:///usr/local/google/home/jsbell/google/chromium/src/third_party/WebKit/LayoutTests/resources/testharness.js:1132:25)
|
| + at test (file:///usr/local/google/home/jsbell/google/chromium/src/third_party/WebKit/LayoutTests/resources/testharness.js:414:18)
|
| + at file:///usr/local/google/home/jsbell/google/chromium/src/third_party/WebKit/LayoutTests/fast/encoding/api/ascii-supersets.html:35:40
|
| + at Array.forEach (native)
|
| + at file:///usr/local/google/home/jsbell/google/chromium/src/third_party/WebKit/LayoutTests/fast/encoding/api/ascii-supersets.html:16:23
|
| + at Array.forEach (native)
|
| + at file:///usr/local/google/home/jsbell/google/chromium/src/third_party/WebKit/LayoutTests/fast/encoding/api/ascii-supersets.html:15:17)
|
| +PASS ASCII superset encoding: iso-8859-2
|
| +PASS ASCII superset encoding: iso-8859-3
|
| +PASS ASCII superset encoding: iso-8859-4
|
| +PASS ASCII superset encoding: iso-8859-5
|
| +PASS ASCII superset encoding: iso-8859-6
|
| +PASS ASCII superset encoding: iso-8859-7
|
| +PASS ASCII superset encoding: iso-8859-8
|
| +PASS ASCII superset encoding: iso-8859-8-i
|
| +PASS ASCII superset encoding: iso-8859-10
|
| +PASS ASCII superset encoding: iso-8859-13
|
| +PASS ASCII superset encoding: iso-8859-14
|
| +PASS ASCII superset encoding: iso-8859-15
|
| +PASS ASCII superset encoding: iso-8859-16
|
| +PASS ASCII superset encoding: koi8-r
|
| +PASS ASCII superset encoding: koi8-u
|
| +PASS ASCII superset encoding: macintosh
|
| +PASS ASCII superset encoding: windows-874
|
| +PASS ASCII superset encoding: windows-1250
|
| +PASS ASCII superset encoding: windows-1251
|
| +PASS ASCII superset encoding: windows-1252
|
| +PASS ASCII superset encoding: windows-1253
|
| +PASS ASCII superset encoding: windows-1254
|
| +PASS ASCII superset encoding: windows-1255
|
| +PASS ASCII superset encoding: windows-1256
|
| +PASS ASCII superset encoding: windows-1257
|
| +PASS ASCII superset encoding: windows-1258
|
| +PASS ASCII superset encoding: x-mac-cyrillic
|
| +PASS ASCII superset encoding: gbk
|
| +PASS ASCII superset encoding: gb18030
|
| +PASS ASCII superset encoding: hz-gb-2312
|
| +PASS ASCII superset encoding: big5
|
| +PASS ASCII superset encoding: euc-jp
|
| +FAIL ASCII superset encoding: iso-2022-jp assert_equals: expected "\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" but got "\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r��\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
|
| +FAIL ASCII superset encoding: shift_jis assert_equals: expected "\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" but got "\0\x01\x02\x03\x04\x05\x06\x07\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1c\x1b\x1d\x1e\x1f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x1a"
|
| +PASS ASCII superset encoding: euc-kr
|
| +PASS ASCII superset encoding: iso-2022-kr
|
| +PASS ASCII superset encoding: x-user-defined
|
| +Harness: the test ran to completion.
|
|
|
|
|