diff options
Diffstat (limited to 'testing/web-platform/tests/resources/webidl2/test/syntax/json/uniontype.json')
-rw-r--r-- | testing/web-platform/tests/resources/webidl2/test/syntax/json/uniontype.json | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resources/webidl2/test/syntax/json/uniontype.json b/testing/web-platform/tests/resources/webidl2/test/syntax/json/uniontype.json new file mode 100644 index 000000000..43e25fd6b --- /dev/null +++ b/testing/web-platform/tests/resources/webidl2/test/syntax/json/uniontype.json @@ -0,0 +1,87 @@ +[ + { + "type": "interface", + "name": "Union", + "partial": false, + "members": [ + { + "type": "attribute", + "static": false, + "stringifier": false, + "inherit": false, + "readonly": false, + "idlType": { + "sequence": false, + "generic": null, + "nullable": false, + "array": false, + "union": true, + "idlType": [ + { + "sequence": false, + "generic": null, + "nullable": false, + "array": false, + "union": false, + "idlType": "float" + }, + { + "sequence": false, + "generic": null, + "nullable": false, + "array": false, + "union": true, + "idlType": [ + { + "sequence": false, + "generic": null, + "nullable": false, + "array": false, + "union": false, + "idlType": "Date" + }, + { + "sequence": false, + "generic": null, + "nullable": false, + "array": false, + "union": false, + "idlType": "Event" + } + ] + }, + { + "sequence": false, + "generic": null, + "nullable": true, + "array": false, + "union": true, + "idlType": [ + { + "sequence": false, + "generic": null, + "nullable": false, + "array": false, + "union": false, + "idlType": "Node" + }, + { + "sequence": false, + "generic": null, + "nullable": false, + "array": false, + "union": false, + "idlType": "DOMString" + } + ] + } + ] + }, + "name": "test", + "extAttrs": [] + } + ], + "inheritance": null, + "extAttrs": [] + } +]
\ No newline at end of file |