Pass | should return true for all string types | Asserts runPass | 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) |
|
Pass | should return false for all exception types | Asserts runPass | 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) |
|
Pass | should return false for all buffer source types | Asserts runPass | 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) |
|
Pass | should return true for boolean | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:51:9) |
|
Pass | should return true for all numeric types | Asserts runPass | 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) |
|
Pass | should return false for promises | Asserts runPass | assert_false(false)
at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:72:9) |
|
Pass | should handle sequences according to their inner types | Asserts runPass | 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) |
|
Pass | should handle frozen arrays according to their inner types | Asserts runPass | 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) |
|
Pass | should handle records according to their inner types | Asserts runPass | 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) |
|
Pass | should return true for object type | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:95:9) |
|
Pass | should return false for any type | Asserts runPass | assert_false(false)
at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:100:9) |
|
Pass | should return true for dictionaries whose members are all JSON types | Asserts runPass | 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) |
|
Pass | should return true for dictionaries which have no members | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:113:9) |
|
Pass | should return false for dictionaries whose members are not all JSON types | Asserts runPass | 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) |
|
Pass | should return true for interfaces which declare a toJSON operation | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:126:9) |
|
Pass | should return true for interfaces which inherit from an interface which declares a toJSON operation | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:132:9) |
|
Pass | should return true for interfaces which mixin an interface which declare a toJSON operation | Asserts runNo asserts ran |
Pass | Foo includes Bar: member names are unique | Asserts runPass | 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) |
|
Pass | should return false for interfaces which do not declare a toJSON operation | Asserts runPass | assert_false(false)
at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:145:9) |
|
Pass | should return true for union types whose member types are JSON types | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:151:9) |
|
Pass | should return false for union types whose member types are not all JSON types | Asserts runPass | assert_false(false)
at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:156:9) |
|
Pass | should consider the inner types of nullable types | Asserts runPass | 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) |
|
Pass | should consider the inner types of annotated types. | Asserts runPass | 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) |
|
Pass | should throw if it references a dictionary, enum or interface which wasn't added to the IdlArray | Asserts runPass | 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) |
|
Pass | should throw for interfaces which inherit from another interface which wasn't added to the IdlArray | Asserts runPass | 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) |
|
Pass | should return true for typedefs whose source type is a JSON type | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:184:9) |
|
Pass | should return false for typedefs whose source type is not a JSON type | Asserts runPass | assert_false(false)
at Test.<anonymous> ( /resources/test/tests/unit/IdlArray/is_json_type.html:189:9) |
|