Pass | An array | Asserts runPass | assert_array_equals([1, 2], [1, 2])
at Test.<anonymous> ( /webidl/ecmascript-binding/sequence-conversion.html:20:3) |
|
Pass | A generator | Asserts runPass | assert_array_equals([4, 5], [4, 5])
at Test.<anonymous> ( /webidl/ecmascript-binding/sequence-conversion.html:31:3) |
|
Fail | An array with an overridden Symbol.iterator | assert_array_equals: expected property 0 to be 6 but got 1 (expected array [6, 7] got [1, 2]) at Test.<anonymous> (https://www1.wpt.live/webidl/ecmascript-binding/sequence-conversion.html:50:3)
at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/webidl/ecmascript-binding/sequence-conversion.html:34:1 Asserts runFail | assert_array_equals([1, 2], [6, 7])
at Test.<anonymous> ( /webidl/ecmascript-binding/sequence-conversion.html:50:3) |
|
Pass | An object with an overriden Symbol.iterator | Asserts runPass | assert_equals("bar", "bar")
at Test.<anonymous> ( /webidl/ecmascript-binding/sequence-conversion.html:70:3) | Pass | assert_equals("quux", "quux")
at Test.<anonymous> ( /webidl/ecmascript-binding/sequence-conversion.html:71:3) | Pass | assert_equals(1, 1, "@@iterator must only have been gotten once")
at Test.<anonymous> ( /webidl/ecmascript-binding/sequence-conversion.html:72:3) |
|
Fail | An array with an overridden Symbol.iterator on the prototype | assert_array_equals: expected property 0 to be 11 but got 1 (expected array [11, 12] got [1, 2]) at Test.<anonymous> (https://www1.wpt.live/webidl/ecmascript-binding/sequence-conversion.html:96:3)
at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/webidl/ecmascript-binding/sequence-conversion.html:75:1 Asserts runFail | assert_array_equals([1, 2], [11, 12])
at Test.<anonymous> ( /webidl/ecmascript-binding/sequence-conversion.html:96:3) |
|
Fail | An array with an overridden %ArrayIterator%.prototype.next | assert_array_equals: expected property 0 to be 8 but got 1 (expected array [8, 9] got [1, 2]) at Test.<anonymous> (https://www1.wpt.live/webidl/ecmascript-binding/sequence-conversion.html:130:3)
at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
at test (https://www1.wpt.live/resources/testharness.js:633:30)
at https://www1.wpt.live/webidl/ecmascript-binding/sequence-conversion.html:100:1 Asserts runFail | assert_array_equals([1, 2], [8, 9])
at Test.<anonymous> ( /webidl/ecmascript-binding/sequence-conversion.html:130:3) |
|
Pass | A holey array with fallback to an accessor on the prototype | Asserts runPass | assert_array_equals([13, 14, 15, 16], [13, 14, 15, 16])
at Test.<anonymous> ( /webidl/ecmascript-binding/sequence-conversion.html:149:3) |
|
Pass | A string array in sequence<sequence> or record | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { new URLSearchParams(["key", "value"]); }")
at Test.<anonymous> ( /webidl/ecmascript-binding/sequence-conversion.html:154:3) |
|