Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'

This commit is contained in:
WPT Sync Bot 2021-09-07 11:16:33 +00:00 committed by cybai
parent 35e95f55a1
commit 58e8ee674b
9438 changed files with 266112 additions and 106976 deletions

View file

@ -1,11 +1,12 @@
// META: script=/common/get-host-info.sub.js
// META: script=./resources/checker.js
// META: script=./resources/common.js
// META: timeout=long
'use strict';
assert_true(self.crossOriginIsolated);
promise_test(async testCase => {
assert_true(self.crossOriginIsolated);
const BYTES_PER_WORKER = 10 * 1024 * 1024;
const worker_url = await createWorker(BYTES_PER_WORKER);
const result = await performance.measureUserAgentSpecificMemory();
@ -18,7 +19,7 @@ promise_test(async testCase => {
},
{
url: worker_url,
scope: 'DedicatedWindow',
scope: 'DedicatedWorkerGlobalScope',
container: null,
},
]);