Skip to content

fix(browser): list contexts in creation order from browser.contexts() - #2018

Merged
Yury Semikhatsky (yury-s) merged 2 commits into
microsoft:mainfrom
yury-s:fix-contexts-order
Oct 26, 2026
Merged

Yury Semikhatsky (yury-s) merged 2 commits into
microsoft:mainfrom
yury-s:fix-contexts-order

Conversation

@yury-s

Copy link
Copy Markdown
Member

Summary

  • browser.contexts() returned the contexts in hash order; keep them in a LinkedHashSet so the list follows the creation order like the other clients.
  • Test in TestBrowser1.

https://claude.ai/code/session_018p7xPf3r5VjAM7V46nzFTM

@yury-s
Yury Semikhatsky (yury-s) merged commit 1a60f29 into microsoft:main Oct 26, 2026
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants