1 // META: script=/common/get-host-info.sub.js
2 // META: script=./resources/common.js
6 assert_true(self.crossOriginIsolated);
8 promise_test(async testCase => {
9 const {iframes, windows} = await build([
19 const result = await performance.measureMemory();
20 checkMeasureMemory(result, [
22 url: window.location.href,
27 url: windows['same-origin-1'].location.href,
31 src: iframes['same-origin-1'].src,
35 url: windows['same-origin-2'].location.href,
39 src: iframes['same-origin-2'].src,
43 }, 'Well-formed result of performance.measureMemory with same-origin iframes.');