summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/webidl2/test/syntax/json/exception-inheritance.json
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/resources/webidl2/test/syntax/json/exception-inheritance.json')
-rw-r--r--testing/web-platform/tests/resources/webidl2/test/syntax/json/exception-inheritance.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resources/webidl2/test/syntax/json/exception-inheritance.json b/testing/web-platform/tests/resources/webidl2/test/syntax/json/exception-inheritance.json
new file mode 100644
index 000000000..f4dc68699
--- /dev/null
+++ b/testing/web-platform/tests/resources/webidl2/test/syntax/json/exception-inheritance.json
@@ -0,0 +1,37 @@
+[
+ {
+ "type": "exception",
+ "name": "DOMException",
+ "members": [
+ {
+ "type": "field",
+ "name": "code",
+ "idlType": {
+ "sequence": false,
+ "generic": null,
+ "nullable": false,
+ "array": false,
+ "union": false,
+ "idlType": "unsigned short"
+ },
+ "extAttrs": []
+ }
+ ],
+ "inheritance": null,
+ "extAttrs": []
+ },
+ {
+ "type": "exception",
+ "name": "HierarchyRequestError",
+ "members": [],
+ "inheritance": "DOMException",
+ "extAttrs": []
+ },
+ {
+ "type": "exception",
+ "name": "NoModificationAllowedError",
+ "members": [],
+ "inheritance": "DOMException",
+ "extAttrs": []
+ }
+] \ No newline at end of file