Introduce DevtoolsSession::{Add,Remove}ScriptToEvaluateOnNewDocument [chromium/src : main]

0 views
Skip to first unread message

gwsq (Gerrit)

unread,
Apr 30, 2026, 11:10:35 PM (4 days ago) Apr 30
to Andrey Kosyakov, Chromium IPC Reviews, Fred Shih, Dmitry Gozman, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, ipc-securi...@chromium.org, kinuko...@chromium.org
Attention needed from Dmitry Gozman and Fred Shih

Message from gwsq

From googleclient/chrome/chromium_gwsq/ipc/config.gwsq:
IPC: ff...@chromium.org

📎 It looks like you’re making a possibly security-sensitive change! 📎 IPC security review isn’t a rubberstamp, so your friendly security reviewer will need a fair amount of context to review your CL effectively. Please review your CL description and code comments to make sure they provide context for someone unfamiliar with your project/area. Pay special attention to where data comes from and which processes it flows between (and their privilege levels). Feel free to point your security reviewer at design docs, bugs, or other links if you can’t reasonably make a self-contained CL description. (Also see https://cbea.ms/git-commit/).

IPC reviewer(s): ff...@chromium.org


Reviewer source(s):
ff...@chromium.org is from context(googleclient/chrome/chromium_gwsq/ipc/config.gwsq)

Open in Gerrit

Related details

Attention is currently required from:
  • Dmitry Gozman
  • Fred Shih
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not 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: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I56fee167cb41a90cf8eeca625a8f1f41b15b2b2a
Gerrit-Change-Number: 7807334
Gerrit-PatchSet: 4
Gerrit-Owner: Andrey Kosyakov <ca...@chromium.org>
Gerrit-Reviewer: Andrey Kosyakov <ca...@chromium.org>
Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
Gerrit-Reviewer: Fred Shih <ff...@chromium.org>
Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Dmitry Gozman <dgo...@chromium.org>
Gerrit-Attention: Fred Shih <ff...@chromium.org>
Gerrit-Comment-Date: Fri, 01 May 2026 03:10:26 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Dmitry Gozman (Gerrit)

unread,
May 1, 2026, 4:05:34 AM (3 days ago) May 1
to Andrey Kosyakov, Chromium IPC Reviews, Fred Shih, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, ipc-securi...@chromium.org, kinuko...@chromium.org
Attention needed from Andrey Kosyakov and Fred Shih

Dmitry Gozman voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Andrey Kosyakov
  • Fred Shih
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not 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: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I56fee167cb41a90cf8eeca625a8f1f41b15b2b2a
    Gerrit-Change-Number: 7807334
    Gerrit-PatchSet: 4
    Gerrit-Owner: Andrey Kosyakov <ca...@chromium.org>
    Gerrit-Reviewer: Andrey Kosyakov <ca...@chromium.org>
    Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
    Gerrit-Reviewer: Fred Shih <ff...@chromium.org>
    Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
    Gerrit-Attention: Fred Shih <ff...@chromium.org>
    Gerrit-Comment-Date: Fri, 01 May 2026 08:05:11 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Fred Shih (Gerrit)

    unread,
    May 1, 2026, 3:30:43 PM (3 days ago) May 1
    to Andrey Kosyakov, Dmitry Gozman, Chromium IPC Reviews, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, ipc-securi...@chromium.org, kinuko...@chromium.org
    Attention needed from Andrey Kosyakov

    Fred Shih added 2 comments

    Patchset-level comments
    File-level comment, Patchset 4 (Latest):
    Fred Shih . resolved

    Hello! Sorry for the delay, I missed this.

    According to:
    https://chromium.googlesource.com/chromium/src/+/main/docs/security/mojo.md#do-not-define-unused-or-unimplemented-things

    Mojo reviews should contain the implementation. I do understand that it'd be nicer to to stage changes in smaller CLs, but we're supposed to check the impl along the interface definition.

    (I also don't have access to the bug).

    File third_party/blink/public/mojom/devtools/devtools_agent.mojom
    Line 158, Patchset 4 (Latest): string source;
    string world_name;
    bool include_command_line_api;
    Fred Shih . unresolved

    some comments would be nice :)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrey Kosyakov
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not 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: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I56fee167cb41a90cf8eeca625a8f1f41b15b2b2a
      Gerrit-Change-Number: 7807334
      Gerrit-PatchSet: 4
      Gerrit-Owner: Andrey Kosyakov <ca...@chromium.org>
      Gerrit-Reviewer: Andrey Kosyakov <ca...@chromium.org>
      Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
      Gerrit-Reviewer: Fred Shih <ff...@chromium.org>
      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Andrey Kosyakov <ca...@chromium.org>
      Gerrit-Comment-Date: Fri, 01 May 2026 19:30:24 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Andrey Kosyakov (Gerrit)

      unread,
      May 1, 2026, 7:09:16 PM (3 days ago) May 1
      to Dmitry Gozman, Chromium IPC Reviews, Fred Shih, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, ipc-securi...@chromium.org, kinuko...@chromium.org
      Attention needed from Fred Shih

      Andrey Kosyakov voted and added 2 comments

      Votes added by Andrey Kosyakov

      Commit-Queue+0

      2 comments

      Patchset-level comments
      Fred Shih . resolved

      Hello! Sorry for the delay, I missed this.

      According to:
      https://chromium.googlesource.com/chromium/src/+/main/docs/security/mojo.md#do-not-define-unused-or-unimplemented-things

      Mojo reviews should contain the implementation. I do understand that it'd be nicer to to stage changes in smaller CLs, but we're supposed to check the impl along the interface definition.

      (I also don't have access to the bug).

      Andrey Kosyakov

      I cc'ed you on the bug. Please note the actual implementation is on the stacked CL. There's also a "big picture" PoC CL if you prefer to see it all at once:

      https://chromium-review.git.corp.google.com/c/chromium/src/+/7789702

      Please also note these are browser-to-renderer only calls.

      File third_party/blink/public/mojom/devtools/devtools_agent.mojom
      Line 158, Patchset 4: string source;
      string world_name;
      bool include_command_line_api;
      Fred Shih . resolved

      some comments would be nice :)

      Andrey Kosyakov

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Fred Shih
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not 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: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I56fee167cb41a90cf8eeca625a8f1f41b15b2b2a
        Gerrit-Change-Number: 7807334
        Gerrit-PatchSet: 5
        Gerrit-Owner: Andrey Kosyakov <ca...@chromium.org>
        Gerrit-Reviewer: Andrey Kosyakov <ca...@chromium.org>
        Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
        Gerrit-Reviewer: Fred Shih <ff...@chromium.org>
        Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
        Gerrit-CC: gwsq
        Gerrit-Attention: Fred Shih <ff...@chromium.org>
        Gerrit-Comment-Date: Fri, 01 May 2026 23:09:00 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        Comment-In-Reply-To: Fred Shih <ff...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Fred Shih (Gerrit)

        unread,
        1:49 PM (2 hours ago) 1:49 PM
        to Andrey Kosyakov, Dmitry Gozman, Chromium IPC Reviews, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, ipc-securi...@chromium.org, kinuko...@chromium.org

        Fred Shih added 1 comment

        Patchset-level comments
        Fred Shih . resolved

        Hello! Sorry for the delay, I missed this.

        According to:
        https://chromium.googlesource.com/chromium/src/+/main/docs/security/mojo.md#do-not-define-unused-or-unimplemented-things

        Mojo reviews should contain the implementation. I do understand that it'd be nicer to to stage changes in smaller CLs, but we're supposed to check the impl along the interface definition.

        (I also don't have access to the bug).

        Andrey Kosyakov

        I cc'ed you on the bug. Please note the actual implementation is on the stacked CL. There's also a "big picture" PoC CL if you prefer to see it all at once:

        https://chromium-review.git.corp.google.com/c/chromium/src/+/7789702

        Please also note these are browser-to-renderer only calls.

        Fred Shih

        thanks! I'm actively reading through it. I'm not very familiar with this part of the code, so please give me some time.

        Open in Gerrit

        Related details

        Attention set is empty
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not 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: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I56fee167cb41a90cf8eeca625a8f1f41b15b2b2a
        Gerrit-Change-Number: 7807334
        Gerrit-PatchSet: 5
        Gerrit-Owner: Andrey Kosyakov <ca...@chromium.org>
        Gerrit-Reviewer: Andrey Kosyakov <ca...@chromium.org>
        Gerrit-Reviewer: Dmitry Gozman <dgo...@chromium.org>
        Gerrit-Reviewer: Fred Shih <ff...@chromium.org>
        Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
        Gerrit-CC: gwsq
        Gerrit-Comment-Date: Mon, 04 May 2026 17:48:54 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Andrey Kosyakov <ca...@chromium.org>
        Comment-In-Reply-To: Fred Shih <ff...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages