Pass | Has %IteratorPrototype% as prototype | Asserts runPass | assert_equals(object "[object Iterator]", object "[object Iterator]")
at Test.<anonymous> ( /webidl/ecmascript-binding/iterator-prototype-object.html:10:3) |
|
Pass | next() exists and is writable, enumerable, and configurable | Asserts runPass | assert_equals("function", "function")
at Test.<anonymous> ( /webidl/ecmascript-binding/iterator-prototype-object.html:16:3) | Pass | assert_equals(true, true)
at Test.<anonymous> ( /webidl/ecmascript-binding/iterator-prototype-object.html:17:3) | Pass | assert_equals(true, true)
at Test.<anonymous> ( /webidl/ecmascript-binding/iterator-prototype-object.html:18:3) | Pass | assert_equals(true, true)
at Test.<anonymous> ( /webidl/ecmascript-binding/iterator-prototype-object.html:19:3) |
|
Pass | next() throws TypeError when called on ineligible receiver | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { iteratorProto.next(); }")
at Test.<anonymous> ( /webidl/ecmascript-binding/iterator-prototype-object.html:26:3) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { iteratorProto.next.call(undefined); }")
at Test.<anonymous> ( /webidl/ecmascript-binding/iterator-prototype-object.html:29:3) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { iteratorProto.next.call(42); }")
at Test.<anonymous> ( /webidl/ecmascript-binding/iterator-prototype-object.html:32:3) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { iteratorProto.next.call(new Headers().entries()); }")
at Test.<anonymous> ( /webidl/ecmascript-binding/iterator-prototype-object.html:35:3) |
|
Pass | Is specific to an interface | Asserts runPass | assert_not_equals(object "[object URLSearchParams Iterator]", object "[object Headers Iterator]")
at Test.<anonymous> ( /webidl/ecmascript-binding/iterator-prototype-object.html:45:3) |
|