Changeset 106928 in webkit


Ignore:
Timestamp:
Feb 7, 2012 4:52:48 AM (12 years ago)
Author:
yurys@chromium.org
Message:

Web Inspector: don't mark object is queriable if it is only reachable by internal reference
https://bugs.webkit.org/show_bug.cgi?id=77877

Reviewed by Pavel Feldman.

Source/WebCore:

  • inspector/front-end/HeapSnapshot.js:

(WebInspector.HeapSnapshot.prototype._markQueriableHeapObjects):

LayoutTests:

  • inspector/profiler/heap-snapshot.html:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r106927 r106928  
     12012-02-06  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Web Inspector: don't mark object is queriable if it is only reachable by internal reference
     4        https://bugs.webkit.org/show_bug.cgi?id=77877
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * inspector/profiler/heap-snapshot.html:
     9
    1102012-02-07  Ádám Kallai  <Kallai.Adam@stud.u-szeged.hu>
    211
  • trunk/LayoutTests/inspector/profiler/heap-snapshot.html

    r97611 r106928  
    163163               "H": false,
    164164               "M": false,
    165                "N": true,
     165               "N": false,
    166166               "DOMWindow": true
    167167            };
  • trunk/Source/WebCore/ChangeLog

    r106926 r106928  
     12012-02-06  Yury Semikhatsky  <yurys@chromium.org>
     2
     3        Web Inspector: don't mark object is queriable if it is only reachable by internal reference
     4        https://bugs.webkit.org/show_bug.cgi?id=77877
     5
     6        Reviewed by Pavel Feldman.
     7
     8        * inspector/front-end/HeapSnapshot.js:
     9        (WebInspector.HeapSnapshot.prototype._markQueriableHeapObjects):
     10
    1112012-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
    212
  • trunk/Source/WebCore/inspector/front-end/HeapSnapshot.js

    r106905 r106928  
    11301130                var edge = iter.edge;
    11311131                var node = edge.node;
    1132                 if (this._flags[node.nodeIndex])
     1132                if (this._flags[node.nodeIndex] & flag)
    11331133                    continue;
    11341134                if (edge.isHidden || edge.isInvisible)
     
    11371137                if (!name)
    11381138                    continue;
    1139                 if (edge.isInternal && name !== "native")
     1139                if (edge.isInternal)
    11401140                    continue;
    11411141                list.push(node);
Note: See TracChangeset for help on using the changeset viewer.