mirror of
https://github.com/daijro/camoufox.git
synced 2026-08-24 08:00:07 +00:00
8b5946e847
The old patch gated BrowsingContext::SetRemoteSubframes() behind a config flag, preventing mUseRemoteSubframes from ever being set to true. This broke nested cross-origin iframes because CreateDetached() copies the parent's mUseRemoteSubframes directly (bypassing the patched setter), cascading false through all child browsing contexts. Strategy 0 achieves the same goal (no OOPIFs — all content same-process) via ShouldIsolateSite() returning false, without touching the setter. mUseRemoteSubframes propagates normally, so nested iframes work. Fission plumbing stays live: COOP handling, BFCache-in-parent, and cross-origin isolation for pages serving COOP+COEP headers are unaffected. Removes the enableRemoteSubframes config key (no longer needed). Refs #533