Pattern
Cross-Origin Window Open Null
cross-origin-windowopen-null
window.open fails (returns null or throws) when cross-origin security policies or sandbox/origin constraints are hit, such as COOP/noopener behavior, origin mismatches in postMessage, or indirect, non-user-initiated opens, breaking auth/connect flows and iframe handshakes.