summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/resources/webidl2/test/syntax/json/iterable.json
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/resources/webidl2/test/syntax/json/iterable.json')
-rw-r--r--testing/web-platform/tests/resources/webidl2/test/syntax/json/iterable.json55
1 files changed, 55 insertions, 0 deletions
diff --git a/testing/web-platform/tests/resources/webidl2/test/syntax/json/iterable.json b/testing/web-platform/tests/resources/webidl2/test/syntax/json/iterable.json
new file mode 100644
index 000000000..3e38991dd
--- /dev/null
+++ b/testing/web-platform/tests/resources/webidl2/test/syntax/json/iterable.json
@@ -0,0 +1,55 @@
+[
+ {
+ "type": "interface",
+ "name": "IterableOne",
+ "partial": false,
+ "members": [
+ {
+ "type": "iterable",
+ "idlType": {
+ "sequence": false,
+ "generic": null,
+ "nullable": false,
+ "array": false,
+ "union": false,
+ "idlType": "long"
+ },
+ "extAttrs": []
+ }
+ ],
+ "inheritance": null,
+ "extAttrs": []
+ },
+ {
+ "type": "interface",
+ "name": "IterableTwo",
+ "partial": false,
+ "members": [
+ {
+ "type": "iterable",
+ "idlType": [
+ {
+ "sequence": false,
+ "generic": null,
+ "nullable": false,
+ "array": false,
+ "union": false,
+ "idlType": "short"
+ },
+ {
+ "sequence": false,
+ "generic": null,
+ "nullable": true,
+ "array": false,
+ "union": false,
+ "idlType": "double"
+ }
+ ],
+ "extAttrs": []
+ }
+ ],
+ "inheritance": null,
+ "extAttrs": []
+ }
+]
+