mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Update web-platform-tests to revision 55be31752d6d8ae224f4922689e6cdc75576e1e2
This commit is contained in:
parent
2efc2e2880
commit
8e4409345a
109 changed files with 769 additions and 420 deletions
|
@ -8,7 +8,7 @@ assert_true(self.crossOriginIsolated);
|
|||
promise_test(async testCase => {
|
||||
const BYTES_PER_WORKER = 10 * 1024 * 1024;
|
||||
const worker_url = await createWorker(BYTES_PER_WORKER);
|
||||
const result = await performance.measureMemory();
|
||||
const result = await performance.measureUserAgentSpecificMemory();
|
||||
assert_greater_than_equal(result.bytes, BYTES_PER_WORKER);
|
||||
checkMeasureMemory(result, [
|
||||
{
|
||||
|
@ -22,5 +22,5 @@ promise_test(async testCase => {
|
|||
container: null,
|
||||
},
|
||||
]);
|
||||
}, 'Well-formed result of performance.measureMemory.');
|
||||
}, 'Well-formed result of performance.measureUserAgentSpecificMemory.');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue