testing/web-platform/tests/resources/webidl2/test/syntax/json/dictionary-inherits.json
author Geoffrey Sneddon <me@gsnedders.com>
Tue, 01 May 2018 15:02:42 +0000
changeset 472676 21a5a8d11df33df8681ed3468f6b67b11e411d66
parent 448379 6a65a1dcc6447e76191a24ea679c1927d862fefa
child 483640 5b8090a38193f68cdcb5ec3c4789838f8e0de363
permissions -rw-r--r--
Bug 1457047 [wpt PR 10645] - Update webidl2.js to v10.2.1, a=testonly Automatic update from web-platform-testsMerge pull request #10645 from csnardi/update-webidl2 Update webidl2.js to v10.2.1 -- wpt-commits: 9f5c74dc3a633802acaa93ac325b11fff8c739f1 wpt-pr: 10645

[
    {
        "type": "dictionary",
        "name": "PaintOptions",
        "partial": false,
        "members": [
            {
                "type": "field",
                "name": "fillPattern",
                "required": false,
                "idlType": {
                    "type": "dictionary-type",
                    "sequence": false,
                    "generic": null,
                    "nullable": true,
                    "union": false,
                    "idlType": "DOMString"
                },
                "extAttrs": [],
                "default": {
                    "type": "string",
                    "value": "black"
                }
            },
            {
                "type": "field",
                "name": "strokePattern",
                "required": false,
                "idlType": {
                    "type": "dictionary-type",
                    "sequence": false,
                    "generic": null,
                    "nullable": true,
                    "union": false,
                    "idlType": "DOMString"
                },
                "extAttrs": [],
                "default": {
                    "type": "null"
                }
            },
            {
                "type": "field",
                "name": "position",
                "required": false,
                "idlType": {
                    "type": "dictionary-type",
                    "sequence": false,
                    "generic": null,
                    "nullable": false,
                    "union": false,
                    "idlType": "Point"
                },
                "extAttrs": []
            }
        ],
        "inheritance": null,
        "extAttrs": []
    },
    {
        "type": "dictionary",
        "name": "WetPaintOptions",
        "partial": false,
        "members": [
            {
                "type": "field",
                "name": "hydrometry",
                "required": false,
                "idlType": {
                    "type": "dictionary-type",
                    "sequence": false,
                    "generic": null,
                    "nullable": false,
                    "union": false,
                    "idlType": "float"
                },
                "extAttrs": []
            }
        ],
        "inheritance": "PaintOptions",
        "extAttrs": []
    }
]