Verify the series of sub-tests that are executed for namespace attributes.

Summary

Harness status: OK

Found 9 tests

Details

ResultTest NameMessage
Passfoo namespace: extended attributes
Asserts run
Pass
assert_true(true, "Only the [Exposed] and [SecureContext] extended attributes are applicable to namespaces")
    at Test.<anonymous> ( /resources/idlharness.js:3396:9)
Pass
assert_true(true, "Namespaces must be annotated with the [Exposed] extended attribute")
    at Test.<anonymous> ( /resources/idlharness.js:3398:9)
Passfoo namespace: property descriptor
Asserts run
Pass
assert_equals(object "[object Object]", object "[object Object]", "wrong value for foo namespace object")
    at Test.<anonymous> ( /resources/idlharness.js:3406:9)
Pass
assert_true(true, "namespace object should be writable")
    at Test.<anonymous> ( /resources/idlharness.js:3407:9)
Pass
assert_false(false, "namespace object should not be enumerable")
    at Test.<anonymous> ( /resources/idlharness.js:3408:9)
Pass
assert_true(true, "namespace object should be configurable")
    at Test.<anonymous> ( /resources/idlharness.js:3409:9)
Pass
assert_false(false, "namespace object should not have a getter")
    at Test.<anonymous> ( /resources/idlharness.js:3410:9)
Pass
assert_false(false, "namespace object should not have a setter")
    at Test.<anonymous> ( /resources/idlharness.js:3411:9)
Passfoo namespace: [[Extensible]] is true
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/idlharness.js:3415:9)
Passfoo namespace: [[Prototype]] is Object.prototype
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/idlharness.js:3419:9)
Pass
assert_equals(object "[object Object]", object "[object Object]")
    at Test.<anonymous> ( /resources/idlharness.js:3427:13)
Passfoo namespace: typeof is "object"
Asserts run
Pass
assert_equals("object", "object")
    at Test.<anonymous> ( /resources/idlharness.js:3432:9)
Passfoo namespace: has no length property
Asserts run
Pass
assert_equals(undefined, undefined, "length property must be undefined")
    at Test.<anonymous> ( /resources/idlharness.js:3436:9)
Passfoo namespace: has no name property
Asserts run
Pass
assert_equals(undefined, undefined, "name property must be undefined")
    at Test.<anonymous> ( /resources/idlharness.js:3444:9)
Passfoo namespace: attribute truth
Asserts run
Pass
assert_own_property(object "[object Object]", "truth", "foo does not have property \"truth\"")
    at IdlNamespace.<anonymous> ( /resources/idlharness.js:3377:9)
Pass
assert_equals(undefined, undefined, "setter must be undefined for namespace members")
    at IdlNamespace.<anonymous> ( /resources/idlharness.js:3383:9)
Failfoo namespace: attribute liesassert_own_property: foo does not have property "lies" expected property "lies" missing
    at IdlNamespace.<anonymous> (https://www1.wpt.live/resources/idlharness.js:3377:9)
    at Test.step (https://www1.wpt.live/resources/testharness.js:2642:25)
    at IdlNamespace.test_member_attribute (https://www1.wpt.live/resources/idlharness.js:3375:12)
    at IdlNamespace.test (https://www1.wpt.live/resources/idlharness.js:3477:18)
    at IdlArray.test (https://www1.wpt.live/resources/idlharness.js:749:28)
Asserts run
Fail
assert_own_property(object "[object Object]", "lies", "foo does not have property \"lies\"")
    at IdlNamespace.<anonymous> ( /resources/idlharness.js:3377:9)