Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassHas %IteratorPrototype% as prototype
Asserts run
Pass
assert_equals(object "[object Iterator]", object "[object Iterator]")
    at Test.<anonymous> ( /webidl/ecmascript-binding/iterator-prototype-object.html:10:3)
Passnext() exists and is writable, enumerable, and configurable
Asserts run
Pass
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)
Passnext() throws TypeError when called on ineligible receiver
Asserts run
Pass
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)
PassIs specific to an interface
Asserts run
Pass
assert_not_equals(object "[object URLSearchParams Iterator]", object "[object Headers Iterator]")
    at Test.<anonymous> ( /webidl/ecmascript-binding/iterator-prototype-object.html:45:3)