[global-state] Stash EventBreakpointsModel on DevToolsContext [devtools/devtools-frontend : main]

0 views
Skip to first unread message

Simon Zünd (Gerrit)

unread,
Jul 3, 2026, 12:06:58 AM (yesterday) Jul 3
to Mathias Bynens, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
Attention needed from Mathias Bynens

Simon Zünd voted and added 1 comment

Votes added by Simon Zünd

Code-Review+1

1 comment

File front_end/core/sdk/EventBreakpointsModel.ts
Line 161, Patchset 1 (Latest): static removeInstance(): void {
Root.DevToolsContext.globalInstance().delete(EventBreakpointsManager);
}
Simon Zünd . unresolved

Same here, might be worth calling in `deinitializeGlobalVars()` as well.

Open in Gerrit

Related details

Attention is currently required from:
  • Mathias Bynens
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I826ef0a64bd1b7d5f8490b179e42c83786259edf
Gerrit-Change-Number: 8035045
Gerrit-PatchSet: 1
Gerrit-Owner: Mathias Bynens <mat...@chromium.org>
Gerrit-Reviewer: Mathias Bynens <mat...@chromium.org>
Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
Gerrit-Attention: Mathias Bynens <mat...@chromium.org>
Gerrit-Comment-Date: Fri, 03 Jul 2026 04:06:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Mathias Bynens (Gerrit)

unread,
Jul 3, 2026, 8:06:24 AM (yesterday) Jul 3
to Simon Zünd, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
Attention needed from Simon Zünd

Mathias Bynens voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention is currently required from:
  • Simon Zünd
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: devtools/devtools-frontend
Gerrit-Branch: main
Gerrit-Change-Id: I826ef0a64bd1b7d5f8490b179e42c83786259edf
Gerrit-Change-Number: 8035045
Gerrit-PatchSet: 2
Gerrit-Attention: Simon Zünd <szu...@chromium.org>
Gerrit-Comment-Date: Fri, 03 Jul 2026 12:06:20 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Mathias Bynens (Gerrit)

unread,
Jul 3, 2026, 8:07:20 AM (yesterday) Jul 3
to Simon Zünd, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
Attention needed from Simon Zünd

Mathias Bynens voted and added 1 comment

Votes added by Mathias Bynens

Commit-Queue+2

1 comment

File front_end/core/sdk/EventBreakpointsModel.ts
Line 161, Patchset 1: static removeInstance(): void {
Root.DevToolsContext.globalInstance().delete(EventBreakpointsManager);
}
Simon Zünd . resolved

Same here, might be worth calling in `deinitializeGlobalVars()` as well.

Mathias Bynens

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Simon Zünd
Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I826ef0a64bd1b7d5f8490b179e42c83786259edf
    Gerrit-Change-Number: 8035045
    Gerrit-PatchSet: 2
    Gerrit-Owner: Mathias Bynens <mat...@chromium.org>
    Gerrit-Reviewer: Mathias Bynens <mat...@chromium.org>
    Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
    Gerrit-Attention: Simon Zünd <szu...@chromium.org>
    Gerrit-Comment-Date: Fri, 03 Jul 2026 12:07:16 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Simon Zünd <szu...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mathias Bynens (Gerrit)

    unread,
    Jul 3, 2026, 8:10:26 AM (yesterday) Jul 3
    to Alina Varkki, Simon Zünd, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
    Attention needed from Alina Varkki and Simon Zünd

    Mathias Bynens voted and added 1 comment

    Votes added by Mathias Bynens

    Commit-Queue+1

    1 comment

    Patchset-level comments
    File-level comment, Patchset 3 (Latest):
    Mathias Bynens . resolved

    Alina, I lost Simon’s +1 when addressing the comments. Could you PTAL?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alina Varkki
    • Simon Zünd
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I826ef0a64bd1b7d5f8490b179e42c83786259edf
    Gerrit-Change-Number: 8035045
    Gerrit-PatchSet: 3
    Gerrit-Owner: Mathias Bynens <mat...@chromium.org>
    Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
    Gerrit-Attention: Alina Varkki <alina...@chromium.org>
    Gerrit-Attention: Simon Zünd <szu...@chromium.org>
    Gerrit-Comment-Date: Fri, 03 Jul 2026 12:10:22 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mathias Bynens (Gerrit)

    unread,
    Jul 3, 2026, 8:40:09 AM (yesterday) Jul 3
    to Alina Varkki, Simon Zünd, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
    Attention needed from Alina Varkki and Simon Zünd

    Mathias Bynens voted Auto-Submit+1

    Auto-Submit+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alina Varkki
    • Simon Zünd
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I826ef0a64bd1b7d5f8490b179e42c83786259edf
    Gerrit-Change-Number: 8035045
    Gerrit-PatchSet: 3
    Gerrit-Owner: Mathias Bynens <mat...@chromium.org>
    Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
    Gerrit-Reviewer: Mathias Bynens <mat...@chromium.org>
    Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
    Gerrit-Attention: Alina Varkki <alina...@chromium.org>
    Gerrit-Attention: Simon Zünd <szu...@chromium.org>
    Gerrit-Comment-Date: Fri, 03 Jul 2026 12:40:05 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Alina Varkki (Gerrit)

    unread,
    Jul 3, 2026, 9:10:46 AM (yesterday) Jul 3
    to Mathias Bynens, Simon Zünd, devtools-fro...@luci-project-accounts.iam.gserviceaccount.com, devtools-rev...@chromium.org
    Attention needed from Mathias Bynens and Simon Zünd

    Alina Varkki voted

    Code-Review+1
    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Mathias Bynens
    • Simon Zünd
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I826ef0a64bd1b7d5f8490b179e42c83786259edf
    Gerrit-Change-Number: 8035045
    Gerrit-PatchSet: 3
    Gerrit-Owner: Mathias Bynens <mat...@chromium.org>
    Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
    Gerrit-Reviewer: Mathias Bynens <mat...@chromium.org>
    Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
    Gerrit-Attention: Mathias Bynens <mat...@chromium.org>
    Gerrit-Attention: Simon Zünd <szu...@chromium.org>
    Gerrit-Comment-Date: Fri, 03 Jul 2026 13:10:42 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    devtools-frontend-scoped@luci-project-accounts.iam.gserviceaccount.com (Gerrit)

    unread,
    Jul 3, 2026, 9:13:04 AM (yesterday) Jul 3
    to Mathias Bynens, Alina Varkki, Simon Zünd, devtools-rev...@chromium.org

    devtools-fro...@luci-project-accounts.iam.gserviceaccount.com submitted the change

    Change information

    Commit message:
    [global-state] Stash EventBreakpointsModel on DevToolsContext

    Step 1 of migrating away from singletons for EventBreakpointsModel. This
    stashes the EventBreakpointsModel on DevToolsContext, and makes sure
    that we don't use any .instance() calls.
    Bug: 493763857
    Change-Id: I826ef0a64bd1b7d5f8490b179e42c83786259edf
    Reviewed-by: Alina Varkki <alina...@chromium.org>
    Auto-Submit: Mathias Bynens <mat...@chromium.org>
    Commit-Queue: Alina Varkki <alina...@chromium.org>
    Files:
    • M front_end/core/sdk/EventBreakpointsModel.ts
    • M front_end/testing/EnvironmentHelpers.ts
    Change size: S
    Delta: 2 files changed, 10 insertions(+), 5 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Alina Varkki
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: devtools/devtools-frontend
    Gerrit-Branch: main
    Gerrit-Change-Id: I826ef0a64bd1b7d5f8490b179e42c83786259edf
    Gerrit-Change-Number: 8035045
    Gerrit-PatchSet: 4
    Gerrit-Owner: Mathias Bynens <mat...@chromium.org>
    Gerrit-Reviewer: Alina Varkki <alina...@chromium.org>
    Gerrit-Reviewer: Mathias Bynens <mat...@chromium.org>
    Gerrit-Reviewer: Simon Zünd <szu...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages