testing/web-platform/tests/resources/webidl2/test/syntax/json/generic.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": "interface",
        "name": "Foo",
        "partial": false,
        "members": [
            {
                "type": "operation",
                "getter": false,
                "setter": false,
                "deleter": false,
                "static": false,
                "stringifier": false,
                "idlType": {
                    "type": "return-type",
                    "sequence": false,
                    "generic": "Promise",
                    "nullable": false,
                    "union": false,
                    "idlType": {
                        "type": "return-type",
                        "sequence": false,
                        "generic": "ResponsePromise",
                        "nullable": false,
                        "union": false,
                        "idlType": {
                            "type": "return-type",
                            "sequence": true,
                            "generic": "sequence",
                            "nullable": false,
                            "union": false,
                            "idlType": {
                                "type": "return-type",
                                "sequence": false,
                                "generic": null,
                                "nullable": true,
                                "union": false,
                                "idlType": "DOMString"
                            }
                        }
                    }
                },
                "name": "bar",
                "arguments": [],
                "extAttrs": []
            },
            {
                "type": "attribute",
                "static": false,
                "stringifier": false,
                "inherit": false,
                "readonly": true,
                "idlType": {
                    "type": "attribute-type",
                    "sequence": false,
                    "generic": "Promise",
                    "nullable": false,
                    "union": false,
                    "idlType": {
                        "type": "attribute-type",
                        "sequence": false,
                        "generic": null,
                        "nullable": false,
                        "union": false,
                        "idlType": "DOMString"
                    }
                },
                "name": "baz",
                "extAttrs": []
            }
        ],
        "inheritance": null,
        "extAttrs": []
    },
    {
        "type": "interface",
        "name": "ServiceWorkerClients",
        "partial": false,
        "members": [
            {
                "type": "operation",
                "getter": false,
                "setter": false,
                "deleter": false,
                "static": false,
                "stringifier": false,
                "idlType": {
                    "type": "return-type",
                    "sequence": false,
                    "generic": "Promise",
                    "nullable": false,
                    "union": false,
                    "idlType": {
                        "type": "return-type",
                        "sequence": false,
                        "generic": null,
                        "nullable": true,
                        "union": false,
                        "idlType": "Client"
                    }
                },
                "name": "getServiced",
                "arguments": [],
                "extAttrs": []
            },
            {
                "type": "operation",
                "getter": false,
                "setter": false,
                "deleter": false,
                "static": false,
                "stringifier": false,
                "idlType": {
                    "type": "return-type",
                    "sequence": false,
                    "generic": "Promise",
                    "nullable": false,
                    "union": false,
                    "idlType": {
                        "type": "return-type",
                        "sequence": false,
                        "generic": null,
                        "nullable": false,
                        "union": false,
                        "idlType": "any"
                    }
                },
                "name": "reloadAll",
                "arguments": [],
                "extAttrs": []
            }
        ],
        "inheritance": null,
        "extAttrs": []
    },
    {
        "type": "interface",
        "name": "FetchEvent",
        "partial": false,
        "members": [
            {
                "type": "operation",
                "getter": false,
                "setter": false,
                "deleter": false,
                "static": false,
                "stringifier": false,
                "idlType": {
                    "type": "return-type",
                    "sequence": false,
                    "generic": "ResponsePromise",
                    "nullable": false,
                    "union": false,
                    "idlType": {
                        "type": "return-type",
                        "sequence": false,
                        "generic": null,
                        "nullable": false,
                        "union": false,
                        "idlType": "any"
                    }
                },
                "name": "default",
                "arguments": [],
                "extAttrs": []
            }
        ],
        "inheritance": "Event",
        "extAttrs": []
    }
]