JSON serialization of the WindowProxy object isn't very useful if it's a nested browser context
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
If the WindowProxy is a nested browsing context, you get a window handle, except you can't actually use it for anything (e.g., you can't use it to switch the current browsing context). Having an opaque string that's only useful for comparing it doesn't seem like it is very useful?
(Technically, you could, by going to its top-level browsing context and then switching to every frame until you find one with the same window handle.)
As for a use-case: I have a message event and I want to switch the current browsing context to e.source to react to that message.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the issue's discussion of WindowProxy serialization, nested browsing contexts, window handles, and switching contexts. Review the WebDriver browsing-context and window-handle behavior, then determine a concrete protocol change that would let a message event's source identify a usable context; done means the behavior and interoperability expectations are specified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100