mirror of
https://github.com/9prodhi/camoufox-rs.git
synced 2026-12-04 08:00:56 +00:00
On Camoufox 158, `evaluate` runs in an isolated world and can't see globals set by page scripts (window.__NEXT_DATA__, app state). The new flag routes through MainFrame::evaluate_main_world. Sync expressions only, observable by the page, blocked by strict CSP (documented in the skill). DaemonRequest::Evaluate gains `main_world` with serde default, so older clients keep working. Integration test proves isolated vs main world on a real browser. Implemented via pi (openai/gpt-6.1-sol); reviewed and gate-verified. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>