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