[heap-profiler] Fix highlighting of detached DOM tree nodes. [chromium/src : master]

1 view
Skip to first unread message

Ulan Degenbaev (Gerrit)

unread,
Mar 15, 2018, 2:50:07 PM3/15/18
to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, pfeldma...@chromium.org, Alexei Filippov, chromium...@chromium.org, devtools...@chromium.org, Pavel Feldman

PTAL. Is there a way to unit-test the _markDetachedDOMTreeNodes function? (cannot find on code search).

View Change

    To view, visit change 964761. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Iee4ee0647abb19a36c1be2f078b4c2915d67cba5
    Gerrit-Change-Number: 964761
    Gerrit-PatchSet: 1
    Gerrit-Owner: Ulan Degenbaev <ul...@chromium.org>
    Gerrit-Reviewer: Alexei Filippov <al...@chromium.org>
    Gerrit-Reviewer: Ulan Degenbaev <ul...@chromium.org>
    Gerrit-CC: Pavel Feldman <pfel...@chromium.org>
    Gerrit-Comment-Date: Thu, 15 Mar 2018 18:50:04 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    Gerrit-MessageType: comment

    Alexei Filippov (Gerrit)

    unread,
    Mar 16, 2018, 9:10:59 PM3/16/18
    to Ulan Degenbaev, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, pfeldma...@chromium.org, chromium...@chromium.org, devtools...@chromium.org, Pavel Feldman

    Patch set 1:Code-Review +1

    View Change

    1 comment:

    To view, visit change 964761. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Iee4ee0647abb19a36c1be2f078b4c2915d67cba5
    Gerrit-Change-Number: 964761
    Gerrit-PatchSet: 1
    Gerrit-Owner: Ulan Degenbaev <ul...@chromium.org>
    Gerrit-Reviewer: Alexei Filippov <al...@chromium.org>
    Gerrit-Reviewer: Ulan Degenbaev <ul...@chromium.org>
    Gerrit-CC: Pavel Feldman <pfel...@chromium.org>
    Gerrit-Comment-Date: Sat, 17 Mar 2018 01:10:17 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Gerrit-MessageType: comment

    Ulan Degenbaev (Gerrit)

    unread,
    Mar 17, 2018, 9:02:50 AM3/17/18
    to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, pfeldma...@chromium.org, Alexei Filippov, chromium...@chromium.org, devtools...@chromium.org, Pavel Feldman

    View Change

    1 comment:

      • nit: if ( != ) continue;

      • Done

    To view, visit change 964761. To unsubscribe, or for help writing mail filters, visit settings.

    Gerrit-Project: chromium/src
    Gerrit-Branch: master
    Gerrit-Change-Id: Iee4ee0647abb19a36c1be2f078b4c2915d67cba5
    Gerrit-Change-Number: 964761
    Gerrit-PatchSet: 2
    Gerrit-Owner: Ulan Degenbaev <ul...@chromium.org>
    Gerrit-Reviewer: Alexei Filippov <al...@chromium.org>
    Gerrit-Reviewer: Ulan Degenbaev <ul...@chromium.org>
    Gerrit-CC: Pavel Feldman <pfel...@chromium.org>
    Gerrit-Comment-Date: Sat, 17 Mar 2018 13:02:47 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Alexei Filippov <al...@chromium.org>
    Gerrit-MessageType: comment

    Ulan Degenbaev (Gerrit)

    unread,
    Mar 17, 2018, 9:03:08 AM3/17/18
    to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, pfeldma...@chromium.org, Alexei Filippov, chromium...@chromium.org, devtools...@chromium.org, Pavel Feldman

    Patch set 3:Commit-Queue +2

    View Change

      To view, visit change 964761. To unsubscribe, or for help writing mail filters, visit settings.

      Gerrit-Project: chromium/src
      Gerrit-Branch: master
      Gerrit-Change-Id: Iee4ee0647abb19a36c1be2f078b4c2915d67cba5
      Gerrit-Change-Number: 964761
      Gerrit-PatchSet: 3
      Gerrit-Owner: Ulan Degenbaev <ul...@chromium.org>
      Gerrit-Reviewer: Alexei Filippov <al...@chromium.org>
      Gerrit-Reviewer: Ulan Degenbaev <ul...@chromium.org>
      Gerrit-CC: Pavel Feldman <pfel...@chromium.org>
      Gerrit-Comment-Date: Sat, 17 Mar 2018 13:03:06 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      Gerrit-MessageType: comment

      Commit Bot (Gerrit)

      unread,
      Mar 17, 2018, 9:03:11 AM3/17/18
      to Ulan Degenbaev, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, pfeldma...@chromium.org, Alexei Filippov, chromium...@chromium.org, devtools...@chromium.org, Pavel Feldman

      CQ is trying the patch.

      Note: The patchset sent to CQ was uploaded after this CL was approved.
      "Rebase" https://chromium-review.googlesource.com/c/964761/3

      Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/chromium-review.googlesource.com/964761/3

      Bot data: {"action": "start", "triggered_at": "2018-03-17T13:03:06.0Z", "cq_cfg_revision": "b6c5f044c073ae207081077d3fd1ff808549a7e0", "revision": "eadd43cb7d396d080b62a0244c3e09b7991a6337"}

      View Change

        To view, visit change 964761. To unsubscribe, or for help writing mail filters, visit settings.

        Gerrit-Project: chromium/src
        Gerrit-Branch: master
        Gerrit-Change-Id: Iee4ee0647abb19a36c1be2f078b4c2915d67cba5
        Gerrit-Change-Number: 964761
        Gerrit-PatchSet: 3
        Gerrit-Owner: Ulan Degenbaev <ul...@chromium.org>
        Gerrit-Reviewer: Alexei Filippov <al...@chromium.org>
        Gerrit-Reviewer: Ulan Degenbaev <ul...@chromium.org>
        Gerrit-CC: Commit Bot <commi...@chromium.org>
        Gerrit-CC: Pavel Feldman <pfel...@chromium.org>
        Gerrit-Comment-Date: Sat, 17 Mar 2018 13:03:09 +0000

        Commit Bot (Gerrit)

        unread,
        Mar 17, 2018, 10:18:22 AM3/17/18
        to Ulan Degenbaev, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, pfeldma...@chromium.org, Alexei Filippov, chromium...@chromium.org, devtools...@chromium.org, Pavel Feldman
        Try jobs failed on following builders:
        mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/674087)

        View Change

          To view, visit change 964761. To unsubscribe, or for help writing mail filters, visit settings.

          Gerrit-Project: chromium/src
          Gerrit-Branch: master
          Gerrit-Change-Id: Iee4ee0647abb19a36c1be2f078b4c2915d67cba5
          Gerrit-Change-Number: 964761
          Gerrit-PatchSet: 3
          Gerrit-Owner: Ulan Degenbaev <ul...@chromium.org>
          Gerrit-Reviewer: Alexei Filippov <al...@chromium.org>
          Gerrit-Reviewer: Ulan Degenbaev <ul...@chromium.org>
          Gerrit-CC: Commit Bot <commi...@chromium.org>
          Gerrit-CC: Pavel Feldman <pfel...@chromium.org>
          Gerrit-Comment-Date: Sat, 17 Mar 2018 14:18:20 +0000

          Ulan Degenbaev (Gerrit)

          unread,
          Mar 20, 2018, 5:51:06 AM3/20/18
          to apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, pfeldma...@chromium.org, Commit Bot, Alexei Filippov, chromium...@chromium.org, devtools...@chromium.org, Pavel Feldman

          Patch set 4:Commit-Queue +2

          View Change

            To view, visit change 964761. To unsubscribe, or for help writing mail filters, visit settings.

            Gerrit-Project: chromium/src
            Gerrit-Branch: master
            Gerrit-Change-Id: Iee4ee0647abb19a36c1be2f078b4c2915d67cba5
            Gerrit-Change-Number: 964761
            Gerrit-PatchSet: 4
            Gerrit-Owner: Ulan Degenbaev <ul...@chromium.org>
            Gerrit-Reviewer: Alexei Filippov <al...@chromium.org>
            Gerrit-Reviewer: Ulan Degenbaev <ul...@chromium.org>
            Gerrit-CC: Commit Bot <commi...@chromium.org>
            Gerrit-CC: Pavel Feldman <pfel...@chromium.org>
            Gerrit-Comment-Date: Tue, 20 Mar 2018 09:51:04 +0000

            Commit Bot (Gerrit)

            unread,
            Mar 20, 2018, 5:51:15 AM3/20/18
            to Ulan Degenbaev, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, pfeldma...@chromium.org, Alexei Filippov, chromium...@chromium.org, devtools...@chromium.org, Pavel Feldman

            CQ is trying the patch.

            Note: The patchset sent to CQ was uploaded after this CL was approved.

            "Rebase" https://chromium-review.googlesource.com/c/964761/4

            Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/chromium-review.googlesource.com/964761/4

            Bot data: {"action": "start", "triggered_at": "2018-03-20T09:51:04.0Z", "cq_cfg_revision": "5b6c43e4d6b0297aa92e118e785d640c42297271", "revision": "5168fd2921ec3bd11ae94e551a20ef04069c072a"}

            View Change

              To view, visit change 964761. To unsubscribe, or for help writing mail filters, visit settings.

              Gerrit-Project: chromium/src
              Gerrit-Branch: master
              Gerrit-Change-Id: Iee4ee0647abb19a36c1be2f078b4c2915d67cba5
              Gerrit-Change-Number: 964761
              Gerrit-PatchSet: 4
              Gerrit-Owner: Ulan Degenbaev <ul...@chromium.org>
              Gerrit-Reviewer: Alexei Filippov <al...@chromium.org>
              Gerrit-Reviewer: Ulan Degenbaev <ul...@chromium.org>
              Gerrit-CC: Commit Bot <commi...@chromium.org>
              Gerrit-CC: Pavel Feldman <pfel...@chromium.org>
              Gerrit-Comment-Date: Tue, 20 Mar 2018 09:51:13 +0000

              Commit Bot (Gerrit)

              unread,
              Mar 20, 2018, 6:57:36 AM3/20/18
              to Ulan Degenbaev, apavlo...@chromium.org, blink-...@chromium.org, caseq...@chromium.org, kozyatins...@chromium.org, lushnik...@chromium.org, pfeldma...@chromium.org, Alexei Filippov, chromium...@chromium.org, devtools...@chromium.org, Pavel Feldman

              Commit Bot merged this change.

              View Change

              Approvals: Alexei Filippov: Looks good to me Ulan Degenbaev: Commit
              [heap-profiler] Fix highlighting of detached DOM tree nodes.

              The _markDetachedDOMTreeNodes in the worker sets the detachedDOMTreeNode
              flag if the node is native and its name starts with "Detached " prefix.

              This patch also ensures that '.highlight' and '.detached-dom-tree-node'
              CSS styles are not set both at the same time.

              Bug: 811925
              Change-Id: Iee4ee0647abb19a36c1be2f078b4c2915d67cba5
              Reviewed-on: https://chromium-review.googlesource.com/964761
              Commit-Queue: Ulan Degenbaev <ul...@chromium.org>
              Reviewed-by: Alexei Filippov <al...@chromium.org>
              Cr-Commit-Position: refs/heads/master@{#544327}
              ---
              M third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshot.js
              M third_party/WebKit/Source/devtools/front_end/profiler/HeapSnapshotGridNodes.js
              2 files changed, 14 insertions(+), 20 deletions(-)


              To view, visit change 964761. To unsubscribe, or for help writing mail filters, visit settings.

              Gerrit-Project: chromium/src
              Gerrit-Branch: master
              Gerrit-Change-Id: Iee4ee0647abb19a36c1be2f078b4c2915d67cba5
              Gerrit-Change-Number: 964761
              Gerrit-PatchSet: 5
              Gerrit-Owner: Ulan Degenbaev <ul...@chromium.org>
              Gerrit-Reviewer: Alexei Filippov <al...@chromium.org>
              Gerrit-Reviewer: Commit Bot <commi...@chromium.org>
              Gerrit-Reviewer: Ulan Degenbaev <ul...@chromium.org>
              Gerrit-CC: Pavel Feldman <pfel...@chromium.org>
              Gerrit-MessageType: merged
              Reply all
              Reply to author
              Forward
              0 new messages