Skip to content

Commit c29c1d5

Browse files
committed
remove async_sequence return
The grammar isn't wrong but it's not valid. It's covered in invalid/idl instead.
1 parent 31fa8f9 commit c29c1d5

File tree

2 files changed

+0
-74
lines changed

2 files changed

+0
-74
lines changed

test/syntax/baseline/async-sequence.json

Lines changed: 0 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -124,75 +124,6 @@
124124
"extAttrs": [],
125125
"partial": false
126126
},
127-
{
128-
"type": "interface",
129-
"name": "asyncIterableReturn",
130-
"inheritance": null,
131-
"members": [
132-
{
133-
"type": "operation",
134-
"name": "stream",
135-
"idlType": {
136-
"type": "return-type",
137-
"extAttrs": [],
138-
"generic": "async_sequence",
139-
"nullable": false,
140-
"union": false,
141-
"idlType": [
142-
{
143-
"type": "return-type",
144-
"extAttrs": [],
145-
"generic": "",
146-
"nullable": false,
147-
"union": false,
148-
"idlType": "short"
149-
}
150-
]
151-
},
152-
"arguments": [
153-
{
154-
"type": "argument",
155-
"name": "foo",
156-
"extAttrs": [],
157-
"idlType": {
158-
"type": "argument-type",
159-
"extAttrs": [],
160-
"generic": "async_sequence",
161-
"nullable": false,
162-
"union": false,
163-
"idlType": [
164-
{
165-
"type": "argument-type",
166-
"extAttrs": [],
167-
"generic": "",
168-
"nullable": false,
169-
"union": false,
170-
"idlType": "short"
171-
}
172-
]
173-
},
174-
"default": null,
175-
"optional": false,
176-
"variadic": false
177-
}
178-
],
179-
"extAttrs": [],
180-
"special": ""
181-
}
182-
],
183-
"extAttrs": [
184-
{
185-
"type": "extended-attribute",
186-
"name": "Exposed",
187-
"rhs": {
188-
"type": "identifier",
189-
"value": "Window"
190-
},
191-
"arguments": []
192-
}
193-
],
194-
"partial": false
195-
},
196127
{
197128
"type": "eof",
198129
"value": ""

test/syntax/idl/async-sequence.webidl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,3 @@ interface Canvas {
55
interface I {
66
Promise<undefined> f1(async_sequence<[XAttr] float> arg);
77
};
8-
9-
[Exposed=Window]
10-
interface asyncIterableReturn {
11-
async_sequence<short> stream(async_sequence<short> foo);
12-
};

0 commit comments

Comments
 (0)