Summary

Harness status: OK

Found 27 tests

Details

ResultTest NameMessage
Passshould return true for all string types
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:18:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:19:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:20:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:22:9)
Passshould return false for all exception types
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:27:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:28:9)
Passshould return false for all buffer source types
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:33:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:34:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:35:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:36:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:37:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:38:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:39:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:40:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:41:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:42:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:43:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:44:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:45:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:46:9)
Passshould return true for boolean
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:51:9)
Passshould return true for all numeric types
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:56:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:57:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:58:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:59:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:60:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:61:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:62:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:63:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:64:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:65:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:66:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:67:9)
Passshould return false for promises
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:72:9)
Passshould handle sequences according to their inner types
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:77:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:78:9)
Passshould handle frozen arrays according to their inner types
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:83:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:84:9)
Passshould handle records according to their inner types
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:89:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:90:9)
Passshould return true for object type
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:95:9)
Passshould return false for any type
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:100:9)
Passshould return true for dictionaries whose members are all JSON types
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:106:9)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:107:9)
Passshould return true for dictionaries which have no members
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:113:9)
Passshould return false for dictionaries whose members are not all JSON types
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:119:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:120:9)
Passshould return true for interfaces which declare a toJSON operation
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:126:9)
Passshould return true for interfaces which inherit from an interface which declares a toJSON operation
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:132:9)
Passshould return true for interfaces which mixin an interface which declare a toJSON operation
Asserts runNo asserts ran
PassFoo includes Bar: member names are unique
Asserts run
Pass
assert_true(true, "member toJSON is unique")
    at self.IdlArray.<anonymous> ( /resources/idlharness.js:889:21)
Pass
assert_true(true, "member undefined is unique")
    at self.IdlArray.<anonymous> ( /resources/idlharness.js:894:17)
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:139:9)
Passshould return false for interfaces which do not declare a toJSON operation
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:145:9)
Passshould return true for union types whose member types are JSON types
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:151:9)
Passshould return false for union types whose member types are not all JSON types
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:156:9)
Passshould consider the inner types of nullable types
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:161:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:162:9)
Passshould consider the inner types of annotated types.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:167:9)
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:168:9)
Passshould throw if it references a dictionary, enum or interface which wasn't added to the IdlArray
Asserts run
Pass
assert_throws_js(function "function Error() { [native code] }", function "_ => idl.is_json_type(typeFrom("Foo"))")
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:173:9)
Passshould throw for interfaces which inherit from another interface which wasn't added to the IdlArray
Asserts run
Pass
assert_throws_js(function "function Error() { [native code] }", function "_ => idl.is_json_type(typeFrom("Foo"))")
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:179:9)
Passshould return true for typedefs whose source type is a JSON type
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:184:9)
Passshould return false for typedefs whose source type is not a JSON type
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:189:9)