Repository navigation
[docs] ADR: Supersede 17685 so unscoped network handlers apply to every window - #18279
AutomatedTester wants to merge 7 commits into
Conversation
Proposes replacing 17685 decision 11's default scope so a handler registered without a window handle or user context applies to every window, matching 17776 and 17681.
|
/agentic_describe |
Code Review by Qodo
1.
|
PR Summary by QodoDocument session-wide default for unscoped network handlers
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
|
Code review by qodo was updated up to the latest commit 26904d0 |
titusfortner
left a comment
There was a problem hiding this comment.
I agree with the content, but the ADR Readme says that ADRs are immutable and must be superseded rather than edited (or updated independently elsewhere). Just Copy/Paste that ADR, make the handful of edits and mark the old ADR superseded.
ADRs are immutable, so 18279 now repeats 17685 in full with one change: an unscoped handler applies to every window (decision 11, its options and consequences). 17685's status points to 18279.
|
@titusfortner Done in 75080ca. Generated by Claude Code |
|
Code review by qodo was updated up to the latest commit 75080ca |
titusfortner
left a comment
There was a problem hiding this comment.
this copy also changed indentation for sub bullets which breaks formatting.
Drop the context paragraph and the rejected global-only option, make each rejected default stand on its own, spell out that an unscoped handler stalls requests in every tab, and rewrap.
|
@titusfortner On indentation: outside the edited lines, Generated by Claude Code |
|
Code review by qodo was updated up to the latest commit f4c4f76 |
|
Code review by qodo was updated up to the latest commit e059fce |
titusfortner
left a comment
There was a problem hiding this comment.
It was IntelliJ that pasted it wrong, sorry for disparaging you, Claude.
|
Oh, we also need to update the reference in https://github.com/SeleniumHQ/selenium/blob/trunk/docs/plans/selenium-5.md |
|
Done in 0dd59ed: Generated by Claude Code |
|
Code review by qodo was updated up to the latest commit 0dd59ed |
|
For easier review now that we have it in a new ADR, here's the diff: https://gist.github.com/titusfortner/9cc0b89ac5fc63ee9351c92b06cf9261/revisions |
titusfortner
left a comment
There was a problem hiding this comment.
Oops, just realized this doesn't account for requests without a window, such as service worker requests, which arrive with a null context and userContext. The default should explicitly cover these too, so it should say the handler applies to every event in the session, not every window.
|
@titusfortner Good catch, fixed in 68daae3. Decision 11 now says an unscoped handler applies to every event in the session. That includes requests that belong to no window, such as a service worker's, which arrive with no window handle or user context. The consequence on unscoped handlers says the same. Generated by Claude Code |
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 68daae3 |
📄 The decision, its rationale, considered options, and consequences are in the record file
this PR adds; read it there. The sections below are proposal notes and review logistics.
🔗 Related
📝 Proposal notes
Accepted records are immutable, so this copies 17685 in full and supersedes it rather than amending it. Compare the two files to see the change. This came out of review on #17681. Only the default changes; scoping by window handle or user context stays as 17685 decided.
🗣 Discussion
Discussed at the TLC meetings below; see the minutes for the full discussion and attribution.
📌 Tracking
Tracking issue: (linked on acceptance)
Generated by Claude Code