CONSOLE ERROR: Uncaught SecurityError: Failed to read a named property 'document' from 'Window': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match. This page opens a window to "", injects malicious code, and then uses window.open.call to set its opener to the victim. The opened window then tries to scripts its opener. Code injected into window: PASS: 'window.open' called on another frame threw: SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame. -------- Frame: '-->' -------- This page doesn't do anything special. -------- Frame: '-->' -------- SUCCESS: Window remained in original SecurityOrigin.