summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/webidl2/test/syntax/json/dictionary-inherits.json
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/resources/webidl2/test/syntax/json/dictionary-inherits.json')
-rw-r--r--testing/web-platform/tests/resources/webidl2/test/syntax/json/dictionary-inherits.json83
1 files changed, 83 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resources/webidl2/test/syntax/json/dictionary-inherits.json b/testing/web-platform/tests/resources/webidl2/test/syntax/json/dictionary-inherits.json
new file mode 100644
index 000000000..fbb2338a8
--- /dev/null
+++ b/testing/web-platform/tests/resources/webidl2/test/syntax/json/dictionary-inherits.json
@@ -0,0 +1,83 @@
+[
+ {
+ "type": "dictionary",
+ "name": "PaintOptions",
+ "partial": false,
+ "members": [
+ {
+ "type": "field",
+ "name": "fillPattern",
+ "required": false,
+ "idlType": {
+ "sequence": false,
+ "generic": null,
+ "nullable": true,
+ "array": false,
+ "union": false,
+ "idlType": "DOMString"
+ },
+ "extAttrs": [],
+ "default": {
+ "type": "string",
+ "value": "black"
+ }
+ },
+ {
+ "type": "field",
+ "name": "strokePattern",
+ "required": false,
+ "idlType": {
+ "sequence": false,
+ "generic": null,
+ "nullable": true,
+ "array": false,
+ "union": false,
+ "idlType": "DOMString"
+ },
+ "extAttrs": [],
+ "default": {
+ "type": "null"
+ }
+ },
+ {
+ "type": "field",
+ "name": "position",
+ "required": false,
+ "idlType": {
+ "sequence": false,
+ "generic": null,
+ "nullable": false,
+ "array": false,
+ "union": false,
+ "idlType": "Point"
+ },
+ "extAttrs": []
+ }
+ ],
+ "inheritance": null,
+ "extAttrs": []
+ },
+ {
+ "type": "dictionary",
+ "name": "WetPaintOptions",
+ "partial": false,
+ "members": [
+ {
+ "type": "field",
+ "name": "hydrometry",
+ "required": false,
+ "idlType": {
+ "sequence": false,
+ "generic": null,
+ "nullable": false,
+ "array": false,
+ "union": false,
+ "idlType": "float"
+ },
+ "extAttrs": []
+ }
+ ],
+ "inheritance": "PaintOptions",
+ "extAttrs": []
+ }
+] \ No newline at end of file