Update web-platform-tests to revision 55be31752d6d8ae224f4922689e6cdc75576e1e2

This commit is contained in:
WPT Sync Bot 2021-01-14 08:20:58 +00:00
parent 2efc2e2880
commit 8e4409345a
109 changed files with 769 additions and 420 deletions

View file

@ -9,10 +9,10 @@ function indexOfEmptyEntry(result) {
assert_true(self.crossOriginIsolated);
promise_test(async testCase => {
const initial = await performance.measureMemory();
const initial = await performance.measureUserAgentSpecificMemory();
let observed_different_order = false;
for (let i = 0; i < 100; ++i) {
const current = await performance.measureMemory();
const current = await performance.measureUserAgentSpecificMemory();
if (indexOfEmptyEntry(initial) != indexOfEmptyEntry(current)) {
observed_different_order = true;
}
@ -22,4 +22,4 @@ promise_test(async testCase => {
// the probability of at most 2^-100 since there are at least two
// entries in the breakdown.
assert_true(observed_different_order);
}, 'Well-formed result of performance.measureMemory.');
}, 'Well-formed result of performance.measureUserAgentSpecificMemory.');