Update web-platform-tests to revision 9817f7f027fe1e92cc2fce31d6002c4d669918e8

This commit is contained in:
WPT Sync Bot 2018-03-08 20:11:36 -05:00 committed by Josh Matthews
parent 8e52f8a523
commit f3533538ea
2144 changed files with 21364 additions and 11001 deletions

View file

@ -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.');