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

This commit is contained in:
WPT Sync Bot 2022-11-10 01:22:36 +00:00
parent ace9b32b1c
commit df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions

View file

@ -29,8 +29,9 @@ promise_test(async t => {
</script>
`;
const p = new Promise(r => window.onmessage = e => r(e.data));
const frame = await with_iframe(`data:text/html;base64,${btoa(frameCode)}`);
const result = await new Promise(r => window.onmessage = e => r(e.data));
const result = await p;
assert_equals(result, 'PASS');
}, 'Create a shared worker in a data url frame');
@ -57,7 +58,8 @@ promise_test(async t => {
</script>
`;
const p = new Promise(r => window.onmessage = e => r(e.data));
const frame = await with_iframe(`data:text/html;base64,${btoa(frameCode)}`);
const result = await new Promise(r => window.onmessage = e => r(e.data));
const result = await p;
assert_equals(result, 'PASS');
}, 'Create a data url shared worker in a data url frame');