Pattern
Peer Dependency Mismatch
peer-dependency-mismatch
The COOP policy triggers the navigation algorithm for a cross-origin opener context to force noopener behavior (it sets windowType to 'new with no opener'), and per spec window.open returns null when noopener/windowType is 'new with no opener'. | When a page is served with Cross-Origin-Opener-Policy: same-origin inside a cross-origin iframe, calling window.open returns null in the parent page console, even though the popup tab opens successfully. | Adjust/remedy the COOP configuration so the iframe/popup context does not enter the 'new with no opener' rule (e.g., relax COOP or ensure same-origin/top-level origin alignment), so window.open will return a window reference instead of null.