[Webkit-unassigned] [Bug 87009] New: Web Inspector: introduce a helper for HeapSnapshot post-processing tests.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon May 21 05:20:55 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=87009
Summary: Web Inspector: introduce a helper for HeapSnapshot
post-processing tests.
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: loislo at chromium.org
CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
pmuellr at yahoo.com, joepeck at webkit.org,
pfeldman at chromium.org, yurys at chromium.org,
bweinstein at apple.com, apavlov at chromium.org,
loislo at chromium.org
We have many post processing steps but the test coverage is poor.
The helper will simplify the snapshot mocking process.
It will have two public classes InspectorTest.HeapSnapshotBuilder and InspectorTest.HeapNode and node/edge type constants.
the sample:
var builder = new InspectorTest.HeapSnapshotBuilder();
var debuggerNode = new InspectorTest.HeapNode("Debugger");
builder.rootNode.linkNode(debuggerNode, InspectorTest.HeapEdge.element);
var windowNode = new InspectorTest.HeapNode("Window");
builder.rootNode.linkNode(windowNode, InspectorTest.HeapEdge.shortcut);
debuggerNode.linkNode(windowNode, InspectorTest.HeapEdge.property, "windowProperty");
return builder.generateSnapshot();
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list