auchenberg / auchenberg/vscode-browser-preview

window.opener is null for window launched by window.open()

Open
#57 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
4.4k
Forks
152
PR merge metrics
No merged PRs in 30d

Description

#40 implemented window.open(), but if window A uses it to open window B, the value of window.opener within B is null rather than a reference to A.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the window.open() implementation from #40 and reproduce the issue with window A opening window B. Trace how B is created and determine why its window.opener is null; done means B exposes a reference to A as expected by browser behavior, with a regression test for the scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.