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([
42 const keep = sameOriginContexts(frames).concat(sameOriginContexts(windows));
43 const result = await performance.measureMemory();
44 checkMeasureMemory(result, [
46 url: window.location.href,
51 url: 'cross-origin-url',
52 scope: 'cross-origin-aggregated',
55 src: frames['cross-origin-1'].src,
59 url: windows['same-origin-2'].location.href,
63 src: iframes['cross-origin-1'].src,
67 }, 'performance.measureMemory does not leak server redirected URL.');