WICG / performance-measure-memory

performance.measureMemory API
Other
78 stars 13 forks source link

Fix obtaining a window memory attribution token #18

Closed ulan closed 3 years ago

ulan commented 3 years ago

We need to first check if the parent is cross-origin so that an same-origin iframe embedded in a cross-origin iframe does not expose its iframe attributes.

Issue: #17

ulan commented 3 years ago

@domenic ptal

ulan commented 3 years ago

Thanks! I am updating the tests to COOP+COEP and the new format here: https://chromium-review.googlesource.com/c/chromium/src/+/2538834

There is a test for this case.