It seems that in Safari all calls go through the WindowProxy, except when srcdoc is involved? Very curious. See https://github.com/web-platform-tests/wpt/pull/15769 for tests.
This might not be a problem after all. I was hitting non-standard XSS protection.