mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Update web-platform-tests to revision 9817f7f027fe1e92cc2fce31d6002c4d669918e8
This commit is contained in:
parent
8e52f8a523
commit
f3533538ea
2144 changed files with 21364 additions and 11001 deletions
|
@ -1,20 +1,21 @@
|
|||
// META: script=/resources/WebIDLParser.js
|
||||
// META: script=/resources/idlharness.js
|
||||
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
if (self.importScripts) {
|
||||
importScripts("/resources/testharness.js");
|
||||
importScripts("/resources/WebIDLParser.js", "/resources/idlharness.js");
|
||||
importScripts('/resources/testharness.js');
|
||||
importScripts('/resources/WebIDLParser.js', '/resources/idlharness.js');
|
||||
}
|
||||
|
||||
// https://w3c.github.io/payment-handler/
|
||||
|
||||
promise_test(async() => {
|
||||
const text = await fetch("/interfaces/payment-handler.idl")
|
||||
.then(response => response.text());
|
||||
const idlArray = new IdlArray();
|
||||
idlArray.add_idls(text);
|
||||
idlArray.test();
|
||||
done();
|
||||
}, "Payment handler interfaces.");
|
||||
promise_test(async () => {
|
||||
const text = await fetch('/interfaces/payment-handler.idl').then(response =>
|
||||
response.text(),
|
||||
);
|
||||
const idlArray = new IdlArray();
|
||||
idlArray.add_idls(text);
|
||||
idlArray.test();
|
||||
done();
|
||||
}, 'Payment handler interfaces.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue