There are a few WPT failures in /dom/ related to this. The failure boils down to a comparison between the Window object and and a WindowProxy object.
I think this requires a bit of a plan about how this should be modeled, because there are a few ways you could do this:
It's not as important as having the cross-origin security rules working, but there's a decent chance it could break some sites.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too