* inspector/front-end/DetailedHeapshotGridNodes.js:
* inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshotNode.prototype.get isSynthetic):
(WebInspector.HeapSnapshot.prototype._init):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106905
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-06 Ilya Tikhonovsky <loislo@chromium.org>
+
+ Unreviewed. Web Inspector: rename Artificial to Synthetic according to v8 patch r10614.
+
+ * inspector/front-end/DetailedHeapshotGridNodes.js:
+ * inspector/front-end/HeapSnapshot.js:
+ (WebInspector.HeapSnapshotNode.prototype.get isSynthetic):
+ (WebInspector.HeapSnapshot.prototype._init):
+
2012-02-06 Hayato Ito <hayato@chromium.org>
Implement querySelector on ShadowRoot.
var showHiddenData = WebInspector.settings.showHeapSnapshotObjectsHiddenProperties.get();
var filter = "function(edge) {\n" +
" return !edge.isInvisible\n" +
- " && (" + !this.showRetainingEdges + " || (edge.node.id !== 1 && !edge.node.isArtificial))\n" +
+ " && (" + !this.showRetainingEdges + " || (edge.node.id !== 1 && !edge.node.isSynthetic))\n" +
" && (" + showHiddenData + " || (!edge.isHidden && !edge.node.isHidden));\n" +
"}\n";
if (tree.showRetainingEdges)
return this._type() === this._snapshot._nodeHiddenType;
},
- get isArtificial()
+ get isSynthetic()
{
- return this._type() === this._snapshot._nodeArtificialType;
+ return this._type() === this._snapshot._nodeSyntheticType;
},
get isDOMWindow()
this._firstEdgeOffset = meta.fields.indexOf("children");
this._nodeTypes = meta.types[this._nodeTypeOffset];
this._nodeHiddenType = this._nodeTypes.indexOf("hidden");
- this._nodeArtificialType = this._nodeTypes.indexOf("artificial");
+ this._nodeSyntheticType = this._nodeTypes.indexOf("synthetic");
var edgesMeta = meta.types[this._firstEdgeOffset];
this._edgeFieldsCount = edgesMeta.fields.length;
this._edgeTypeOffset = edgesMeta.fields.indexOf("type");