Update web-platform-tests to revision b'b6f6bf16fe6069aed53d28af86a79b8ff4963844'

This commit is contained in:
WPT Sync Bot 2023-02-15 01:36:04 +00:00
parent 0720f4f736
commit 8bfdc02dd8
590 changed files with 11442 additions and 3709 deletions

View file

@ -11,7 +11,7 @@ function processQueryParams() {
// Create an iframe element, set it up using `setUpFrame`, and optionally fetch
// tests in it. Returns the created frame, after it has loaded.
function CreateFrameHelper(setUpFrame, fetchTests) {
async function CreateFrameHelper(setUpFrame, fetchTests) {
const frame = document.createElement('iframe');
const promise = new Promise((resolve, reject) => {
frame.onload = () => resolve(frame);
@ -21,7 +21,7 @@ function CreateFrameHelper(setUpFrame, fetchTests) {
setUpFrame(frame);
if (fetchTests) {
fetch_tests_from_window(frame.contentWindow);
await fetch_tests_from_window(frame.contentWindow);
}
return promise;
}