Add detail to names of HTML elements in heap snapshots [chromium/src : main]

0 views
Skip to first unread message

Seth Brenith (Gerrit)

unread,
Jun 24, 2024, 11:10:50 AMJun 24
to Kentaro Hara, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org
Attention needed from Kentaro Hara

Seth Brenith added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Seth Brenith . resolved

Hello Kentaro, would you please review this change? There is a corresponding change in the DevTools repository ( https://crrev.com/c/5598901 ), which includes a test for the new functionality. If you approve this change, then I would land that DevTools change before this one, and finish up with a second DevTools change to enable the skipped tests. Thanks for your time and consideration!

Open in Gerrit

Related details

Attention is currently required from:
  • Kentaro Hara
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
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: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
Gerrit-Change-Number: 5600211
Gerrit-PatchSet: 1
Gerrit-Owner: Seth Brenith <seth.b...@microsoft.com>
Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
Gerrit-Reviewer: Seth Brenith <seth.b...@microsoft.com>
Gerrit-Attention: Kentaro Hara <har...@chromium.org>
Gerrit-Comment-Date: Mon, 24 Jun 2024 15:10:40 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Kentaro Hara (Gerrit)

unread,
Jun 24, 2024, 11:18:28 AMJun 24
to Seth Brenith, Camillo Bruni, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org
Attention needed from Camillo Bruni and Seth Brenith

Kentaro Hara added 1 comment

Patchset-level comments
Kentaro Hara . resolved

Camillo: Would you take a look at the change if this makes sense from the DevTools perspective? Then I'll LGTM this.

Open in Gerrit

Related details

Attention is currently required from:
  • Camillo Bruni
  • Seth Brenith
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Review
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: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
Gerrit-Change-Number: 5600211
Gerrit-PatchSet: 1
Gerrit-Owner: Seth Brenith <seth.b...@microsoft.com>
Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
Gerrit-Reviewer: Seth Brenith <seth.b...@microsoft.com>
Gerrit-Attention: Camillo Bruni <cbr...@chromium.org>
Gerrit-Attention: Seth Brenith <seth.b...@microsoft.com>
Gerrit-Comment-Date: Mon, 24 Jun 2024 15:18:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Lippautz (Gerrit)

unread,
Jun 24, 2024, 11:24:25 AMJun 24
to Seth Brenith, Camillo Bruni, Kentaro Hara, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org
Attention needed from Camillo Bruni and Seth Brenith

Michael Lippautz added 1 comment

File third_party/blink/renderer/core/html/html_element.cc
Line 235, Patchset 1 (Latest): return ThreadState::Current()->CopyNameForHeapSnapshot(utf_8.c_str());
Michael Lippautz . unresolved

`blink::NameProvider` implements `cppgc::NameTrait` which is supposed to work outside of heap snapshots as well.

We sometimes use this for debugging which would break now.

Open in Gerrit

Related details

Attention is currently required from:
  • Camillo Bruni
  • Seth Brenith
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
    Gerrit-Change-Number: 5600211
    Gerrit-PatchSet: 1
    Gerrit-Owner: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
    Gerrit-Reviewer: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Attention: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Attention: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Comment-Date: Mon, 24 Jun 2024 15:24:17 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Seth Brenith (Gerrit)

    unread,
    Jun 24, 2024, 12:20:38 PMJun 24
    to Michael Lippautz, Camillo Bruni, Kentaro Hara, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org
    Attention needed from Camillo Bruni and Michael Lippautz

    Seth Brenith added 1 comment

    File third_party/blink/renderer/core/html/html_element.cc
    Line 235, Patchset 1 (Latest): return ThreadState::Current()->CopyNameForHeapSnapshot(utf_8.c_str());
    Michael Lippautz . unresolved

    `blink::NameProvider` implements `cppgc::NameTrait` which is supposed to work outside of heap snapshots as well.

    We sometimes use this for debugging which would break now.

    Seth Brenith

    Oh, great point! I see now that HeapObjectHeader::GetName is called when formatting a message for a crash at [1], as well as a couple of other places.

    A possible fix would be to change the contract of CopyNameForHeapSnapshot so that it returns nullptr if a heap snapshot is not in progress, and update this code to return Element::NameInHeapSnapshot in that case. Does that seem reasonable? (I added CopyNameForHeapSnapshot very recently, so I doubt any other embedders are depending on it yet.)

    [1] https://source.chromium.org/chromium/chromium/src/+/main:v8/src/heap/cppgc/marking-verifier.cc;drc=90cac1911508d3d682a67c97aa62483eb712f69a;l=32

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Camillo Bruni
    • Michael Lippautz
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
    Gerrit-Change-Number: 5600211
    Gerrit-PatchSet: 1
    Gerrit-Owner: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
    Gerrit-Reviewer: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Attention: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Comment-Date: Mon, 24 Jun 2024 16:20:28 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Lippautz (Gerrit)

    unread,
    Jun 24, 2024, 1:07:24 PMJun 24
    to Seth Brenith, Camillo Bruni, Kentaro Hara, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org
    Attention needed from Camillo Bruni and Seth Brenith

    Michael Lippautz added 1 comment

    File third_party/blink/renderer/core/html/html_element.cc
    Line 235, Patchset 1 (Latest): return ThreadState::Current()->CopyNameForHeapSnapshot(utf_8.c_str());
    Michael Lippautz . unresolved

    `blink::NameProvider` implements `cppgc::NameTrait` which is supposed to work outside of heap snapshots as well.

    We sometimes use this for debugging which would break now.

    Seth Brenith

    Oh, great point! I see now that HeapObjectHeader::GetName is called when formatting a message for a crash at [1], as well as a couple of other places.

    A possible fix would be to change the contract of CopyNameForHeapSnapshot so that it returns nullptr if a heap snapshot is not in progress, and update this code to return Element::NameInHeapSnapshot in that case. Does that seem reasonable? (I added CopyNameForHeapSnapshot very recently, so I doubt any other embedders are depending on it yet.)

    [1] https://source.chromium.org/chromium/chromium/src/+/main:v8/src/heap/cppgc/marking-verifier.cc;drc=90cac1911508d3d682a67c97aa62483eb712f69a;l=32

    Michael Lippautz

    Can you check the same condition already on the existing API?

    `CopyNameForHeapSnapshot()` seems to have a rather strange contract otherwise in that you can call it at any time but it only will be reasonable if we are creating a snapshot.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Camillo Bruni
    • Seth Brenith
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
    Gerrit-Change-Number: 5600211
    Gerrit-PatchSet: 1
    Gerrit-Owner: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
    Gerrit-Reviewer: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Attention: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Attention: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Comment-Date: Mon, 24 Jun 2024 17:07:14 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Michael Lippautz <mlip...@chromium.org>
    Comment-In-Reply-To: Seth Brenith <seth.b...@microsoft.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Seth Brenith (Gerrit)

    unread,
    Jun 24, 2024, 6:43:34 PMJun 24
    to Michael Lippautz, Camillo Bruni, Kentaro Hara, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org
    Attention needed from Camillo Bruni and Michael Lippautz

    Seth Brenith added 1 comment

    File third_party/blink/renderer/core/html/html_element.cc
    Line 235, Patchset 1 (Latest): return ThreadState::Current()->CopyNameForHeapSnapshot(utf_8.c_str());
    Michael Lippautz . unresolved

    `blink::NameProvider` implements `cppgc::NameTrait` which is supposed to work outside of heap snapshots as well.

    We sometimes use this for debugging which would break now.

    Seth Brenith

    Oh, great point! I see now that HeapObjectHeader::GetName is called when formatting a message for a crash at [1], as well as a couple of other places.

    A possible fix would be to change the contract of CopyNameForHeapSnapshot so that it returns nullptr if a heap snapshot is not in progress, and update this code to return Element::NameInHeapSnapshot in that case. Does that seem reasonable? (I added CopyNameForHeapSnapshot very recently, so I doubt any other embedders are depending on it yet.)

    [1] https://source.chromium.org/chromium/chromium/src/+/main:v8/src/heap/cppgc/marking-verifier.cc;drc=90cac1911508d3d682a67c97aa62483eb712f69a;l=32

    Michael Lippautz

    Can you check the same condition already on the existing API?

    `CopyNameForHeapSnapshot()` seems to have a rather strange contract otherwise in that you can call it at any time but it only will be reasonable if we are creating a snapshot.

    Seth Brenith

    `v8::internal::HeapProfiler` has a function `bool IsTakingSnapshot()`, but there isn't a corresponding function on the public API. Would it make sense for me to add one? Then embedders could easily tell whether it's safe to call `CopyNameForHeapSnapshot`.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Camillo Bruni
    • Michael Lippautz
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
    Gerrit-Change-Number: 5600211
    Gerrit-PatchSet: 1
    Gerrit-Owner: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
    Gerrit-Reviewer: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Attention: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Comment-Date: Mon, 24 Jun 2024 22:43:23 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Lippautz (Gerrit)

    unread,
    Jun 25, 2024, 2:36:42 AMJun 25
    to Seth Brenith, Camillo Bruni, Kentaro Hara, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org
    Attention needed from Camillo Bruni and Seth Brenith

    Michael Lippautz added 1 comment

    File third_party/blink/renderer/core/html/html_element.cc
    Line 235, Patchset 1 (Latest): return ThreadState::Current()->CopyNameForHeapSnapshot(utf_8.c_str());
    Michael Lippautz . unresolved

    `blink::NameProvider` implements `cppgc::NameTrait` which is supposed to work outside of heap snapshots as well.

    We sometimes use this for debugging which would break now.

    Seth Brenith

    Oh, great point! I see now that HeapObjectHeader::GetName is called when formatting a message for a crash at [1], as well as a couple of other places.

    A possible fix would be to change the contract of CopyNameForHeapSnapshot so that it returns nullptr if a heap snapshot is not in progress, and update this code to return Element::NameInHeapSnapshot in that case. Does that seem reasonable? (I added CopyNameForHeapSnapshot very recently, so I doubt any other embedders are depending on it yet.)

    [1] https://source.chromium.org/chromium/chromium/src/+/main:v8/src/heap/cppgc/marking-verifier.cc;drc=90cac1911508d3d682a67c97aa62483eb712f69a;l=32

    Michael Lippautz

    Can you check the same condition already on the existing API?

    `CopyNameForHeapSnapshot()` seems to have a rather strange contract otherwise in that you can call it at any time but it only will be reasonable if we are creating a snapshot.

    Seth Brenith

    `v8::internal::HeapProfiler` has a function `bool IsTakingSnapshot()`, but there isn't a corresponding function on the public API. Would it make sense for me to add one? Then embedders could easily tell whether it's safe to call `CopyNameForHeapSnapshot`.

    Michael Lippautz

    Seems like a better fit than allowing the copy call to be always called?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Camillo Bruni
    • Seth Brenith
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
    Gerrit-Change-Number: 5600211
    Gerrit-PatchSet: 1
    Gerrit-Owner: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
    Gerrit-Reviewer: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Attention: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Attention: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Comment-Date: Tue, 25 Jun 2024 06:36:25 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Seth Brenith (Gerrit)

    unread,
    Jun 26, 2024, 4:52:49 PMJun 26
    to Michael Lippautz, Camillo Bruni, Kentaro Hara, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org
    Attention needed from Camillo Bruni and Michael Lippautz

    Seth Brenith voted and added 1 comment

    Votes added by Seth Brenith

    Commit-Queue+1

    1 comment

    File third_party/blink/renderer/core/html/html_element.cc
    Line 235, Patchset 1: return ThreadState::Current()->CopyNameForHeapSnapshot(utf_8.c_str());
    Michael Lippautz . resolved

    `blink::NameProvider` implements `cppgc::NameTrait` which is supposed to work outside of heap snapshots as well.

    We sometimes use this for debugging which would break now.

    Seth Brenith

    Oh, great point! I see now that HeapObjectHeader::GetName is called when formatting a message for a crash at [1], as well as a couple of other places.

    A possible fix would be to change the contract of CopyNameForHeapSnapshot so that it returns nullptr if a heap snapshot is not in progress, and update this code to return Element::NameInHeapSnapshot in that case. Does that seem reasonable? (I added CopyNameForHeapSnapshot very recently, so I doubt any other embedders are depending on it yet.)

    [1] https://source.chromium.org/chromium/chromium/src/+/main:v8/src/heap/cppgc/marking-verifier.cc;drc=90cac1911508d3d682a67c97aa62483eb712f69a;l=32

    Michael Lippautz

    Can you check the same condition already on the existing API?

    `CopyNameForHeapSnapshot()` seems to have a rather strange contract otherwise in that you can call it at any time but it only will be reasonable if we are creating a snapshot.

    Seth Brenith

    `v8::internal::HeapProfiler` has a function `bool IsTakingSnapshot()`, but there isn't a corresponding function on the public API. Would it make sense for me to add one? Then embedders could easily tell whether it's safe to call `CopyNameForHeapSnapshot`.

    Michael Lippautz

    Seems like a better fit than allowing the copy call to be always called?

    Seth Brenith

    Sounds good, thanks! I've updated the code here to check whether a snapshot is in progress.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Camillo Bruni
    • Michael Lippautz
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    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: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
    Gerrit-Change-Number: 5600211
    Gerrit-PatchSet: 2
    Gerrit-Owner: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
    Gerrit-Reviewer: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-CC: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Attention: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Attention: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Comment-Date: Wed, 26 Jun 2024 20:52:38 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michael Lippautz (Gerrit)

    unread,
    Jun 27, 2024, 6:58:23 AMJun 27
    to Seth Brenith, Camillo Bruni, Kentaro Hara, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org
    Attention needed from Camillo Bruni and Seth Brenith

    Michael Lippautz voted and added 1 comment

    Votes added by Michael Lippautz

    Code-Review+1

    1 comment

    Patchset-level comments
    File-level comment, Patchset 2 (Latest):
    Michael Lippautz . resolved

    lgtm

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Camillo Bruni
    • Seth Brenith
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    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: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
    Gerrit-Change-Number: 5600211
    Gerrit-PatchSet: 2
    Gerrit-Owner: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Reviewer: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Attention: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Attention: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Comment-Date: Thu, 27 Jun 2024 10:58:07 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Seth Brenith (Gerrit)

    unread,
    Jun 27, 2024, 6:17:19 PMJun 27
    to Michael Lippautz, Camillo Bruni, Kentaro Hara, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org
    Attention needed from Camillo Bruni

    Seth Brenith voted and added 1 comment

    Votes added by Seth Brenith

    Commit-Queue+2

    1 comment

    Patchset-level comments
    Seth Brenith . resolved

    Thanks for reviewing, Michael!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Camillo Bruni
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    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: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
    Gerrit-Change-Number: 5600211
    Gerrit-PatchSet: 2
    Gerrit-Owner: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Reviewer: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Attention: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Comment-Date: Thu, 27 Jun 2024 22:17:05 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Kentaro Hara (Gerrit)

    unread,
    Jun 27, 2024, 7:03:14 PMJun 27
    to Seth Brenith, Michael Lippautz, Camillo Bruni, Chromium LUCI CQ, chromium...@chromium.org, AyeAye, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org
    Attention needed from Camillo Bruni and Seth Brenith

    Kentaro Hara voted and added 1 comment

    Votes added by Kentaro Hara

    Code-Review+1

    1 comment

    Patchset-level comments
    Kentaro Hara . resolved

    LGTM

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Camillo Bruni
    • Seth Brenith
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Review
    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: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
    Gerrit-Change-Number: 5600211
    Gerrit-PatchSet: 2
    Gerrit-Owner: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Reviewer: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Attention: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Attention: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Comment-Date: Thu, 27 Jun 2024 23:02:56 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Jun 27, 2024, 7:13:30 PMJun 27
    to Seth Brenith, Kentaro Hara, Michael Lippautz, Camillo Bruni, chromium...@chromium.org, AyeAye, kouhe...@chromium.org, blink-...@chromium.org, oilpan-rev...@chromium.org, kinuko...@chromium.org, blink-rev...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    Add detail to names of HTML elements in heap snapshots

    In heap snapshots, it can be difficult to see which HTMLElement
    instances correspond to which elements. With this change, Blink will
    provide a formatted start tag as the name which will be shown in the
    heap snapshot.
    Bug: 343341610
    Change-Id: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
    Reviewed-by: Kentaro Hara <har...@chromium.org>
    Commit-Queue: Seth Brenith <seth.b...@microsoft.com>
    Reviewed-by: Michael Lippautz <mlip...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1320701}
    Files:
    • M third_party/blink/renderer/core/html/html_element.cc
    • M third_party/blink/renderer/core/html/html_element.h
    • M third_party/blink/renderer/platform/heap/thread_state.cc
    • M third_party/blink/renderer/platform/heap/thread_state.h
    Change size: S
    Delta: 4 files changed, 49 insertions(+), 0 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Michael Lippautz, +1 by Kentaro Hara
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic30cafb2054ac3c8a0760801768edc1f21e9df4e
    Gerrit-Change-Number: 5600211
    Gerrit-PatchSet: 3
    Gerrit-Owner: Seth Brenith <seth.b...@microsoft.com>
    Gerrit-Reviewer: Camillo Bruni <cbr...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Kentaro Hara <har...@chromium.org>
    Gerrit-Reviewer: Michael Lippautz <mlip...@chromium.org>
    Gerrit-Reviewer: Seth Brenith <seth.b...@microsoft.com>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages