We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b3aac commit b210660Copy full SHA for b210660
payment-request/interfaces.https.html
@@ -7,12 +7,13 @@
7
<script src=/resources/idlharness.js></script>
8
<script>
9
promise_test(async () => {
10
- const idlURLs = ["/interfaces/dom.idl", "/interfaces/payment-request.idl"];
+ const urls = ["/interfaces/dom.idl", "/interfaces/payment-request.idl"];
11
+ const [dom, payment_request] = await Promise.all(
12
+ urls.map(url => fetch(url).then(r => r.text())));
13
const idlArray = new IdlArray();
- for(const url of idlURLs){
- const idlText = await fetch(url).then(r => r.text());
14
- idlArray.add_idls(idlText);
15
- }
+ idlArray.add_untested_idls(dom);
+ idlArray.add_idls(payment_request);
16
+
17
// typedef EventHandler from HTML
18
// https://html.spec.whatwg.org/#eventhandler
19
idlArray.add_idls(`
0 commit comments