| OLD | NEW |
| 1 idlharness test | 1 idlharness test |
| 2 | 2 |
| 3 This test validates the WebIDL included in the Encoding Living Standard. | 3 This test validates the WebIDL included in the Encoding Living Standard. |
| 4 | 4 |
| 5 This is a testharness.js-based test. | 5 This is a testharness.js-based test. |
| 6 PASS TextDecoder interface: existence and properties of interface object | 6 PASS TextDecoder interface: existence and properties of interface object |
| 7 PASS TextDecoder interface object length | 7 PASS TextDecoder interface object length |
| 8 PASS TextDecoder interface object name | 8 PASS TextDecoder interface object name |
| 9 FAIL TextDecoder interface: existence and properties of interface prototype obje
ct assert_equals: class string of TextDecoder.prototype expected "[object TextDe
coderPrototype]" but got "[object Object]" | 9 FAIL TextDecoder interface: existence and properties of interface prototype obje
ct assert_equals: class string of TextDecoder.prototype expected "[object TextDe
coderPrototype]" but got "[object TextDecoder]" |
| 10 PASS TextDecoder interface: existence and properties of interface prototype obje
ct's "constructor" property | 10 PASS TextDecoder interface: existence and properties of interface prototype obje
ct's "constructor" property |
| 11 PASS TextDecoder interface: attribute encoding | 11 PASS TextDecoder interface: attribute encoding |
| 12 PASS TextDecoder interface: attribute fatal | 12 PASS TextDecoder interface: attribute fatal |
| 13 PASS TextDecoder interface: attribute ignoreBOM | 13 PASS TextDecoder interface: attribute ignoreBOM |
| 14 PASS TextDecoder interface: operation decode(BufferSource,TextDecodeOptions) | 14 PASS TextDecoder interface: operation decode(BufferSource,TextDecodeOptions) |
| 15 PASS TextDecoder must be primary interface of new TextDecoder() | 15 PASS TextDecoder must be primary interface of new TextDecoder() |
| 16 PASS Stringification of new TextDecoder() | 16 PASS Stringification of new TextDecoder() |
| 17 PASS TextDecoder interface: new TextDecoder() must inherit property "encoding" w
ith the proper type (0) | 17 PASS TextDecoder interface: new TextDecoder() must inherit property "encoding" w
ith the proper type (0) |
| 18 PASS TextDecoder interface: new TextDecoder() must inherit property "fatal" with
the proper type (1) | 18 PASS TextDecoder interface: new TextDecoder() must inherit property "fatal" with
the proper type (1) |
| 19 PASS TextDecoder interface: new TextDecoder() must inherit property "ignoreBOM"
with the proper type (2) | 19 PASS TextDecoder interface: new TextDecoder() must inherit property "ignoreBOM"
with the proper type (2) |
| 20 PASS TextDecoder interface: new TextDecoder() must inherit property "decode" wit
h the proper type (3) | 20 PASS TextDecoder interface: new TextDecoder() must inherit property "decode" wit
h the proper type (3) |
| 21 PASS TextDecoder interface: calling decode(BufferSource,TextDecodeOptions) on ne
w TextDecoder() with too few arguments must throw TypeError | 21 PASS TextDecoder interface: calling decode(BufferSource,TextDecodeOptions) on ne
w TextDecoder() with too few arguments must throw TypeError |
| 22 PASS TextEncoder interface: existence and properties of interface object | 22 PASS TextEncoder interface: existence and properties of interface object |
| 23 PASS TextEncoder interface object length | 23 PASS TextEncoder interface object length |
| 24 PASS TextEncoder interface object name | 24 PASS TextEncoder interface object name |
| 25 FAIL TextEncoder interface: existence and properties of interface prototype obje
ct assert_equals: class string of TextEncoder.prototype expected "[object TextEn
coderPrototype]" but got "[object Object]" | 25 FAIL TextEncoder interface: existence and properties of interface prototype obje
ct assert_equals: class string of TextEncoder.prototype expected "[object TextEn
coderPrototype]" but got "[object TextEncoder]" |
| 26 PASS TextEncoder interface: existence and properties of interface prototype obje
ct's "constructor" property | 26 PASS TextEncoder interface: existence and properties of interface prototype obje
ct's "constructor" property |
| 27 PASS TextEncoder interface: attribute encoding | 27 PASS TextEncoder interface: attribute encoding |
| 28 PASS TextEncoder interface: operation encode(USVString) | 28 PASS TextEncoder interface: operation encode(USVString) |
| 29 PASS TextEncoder must be primary interface of new TextEncoder() | 29 PASS TextEncoder must be primary interface of new TextEncoder() |
| 30 PASS Stringification of new TextEncoder() | 30 PASS Stringification of new TextEncoder() |
| 31 PASS TextEncoder interface: new TextEncoder() must inherit property "encoding" w
ith the proper type (0) | 31 PASS TextEncoder interface: new TextEncoder() must inherit property "encoding" w
ith the proper type (0) |
| 32 PASS TextEncoder interface: new TextEncoder() must inherit property "encode" wit
h the proper type (1) | 32 PASS TextEncoder interface: new TextEncoder() must inherit property "encode" wit
h the proper type (1) |
| 33 PASS TextEncoder interface: calling encode(USVString) on new TextEncoder() with
too few arguments must throw TypeError | 33 PASS TextEncoder interface: calling encode(USVString) on new TextEncoder() with
too few arguments must throw TypeError |
| 34 Harness: the test ran to completion. | 34 Harness: the test ran to completion. |
| 35 | 35 |
| OLD | NEW |