blob: 1119ca4446451d3004543e257482a203f17a87e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// META: script=/common/get-host-info.sub.js
// META: script=./resources/checker.js
// META: script=./resources/common.js
// META: timeout=long
'use strict';
promise_test(async testCase => {
assert_true(self.crossOriginIsolated);
const result = await performance.measureUserAgentSpecificMemory();
checkMeasureMemory(result, [
{
url: window.location.href,
scope: 'Window',
container: null,
},
]);
}, 'Well-formed result of performance.measureUserAgentSpecificMemory.');
|