Closed
Bug 382389
Opened 19 years ago
Closed 18 years ago
reduce.js - extension for fuzz.js that makes reducing testcases easier
Categories
(Core :: DOM: Serializers, enhancement)
Tracking
()
RESOLVED
DUPLICATE
of bug 339948
People
(Reporter: pvnick, Unassigned)
References
Details
(Keywords: meta, sec-other, Whiteboard: [sg:dupe 339948])
Attachments
(1 file)
|
2.15 KB,
text/plain
|
Details |
Reduce.js forms an HTML snapshot of the DOM as it is in its current state in memory. For each node, it prints <tagname attribute1="..." attribute2="..." id="allNodes[index]"> to the console if the node is an element, and (allNodes[index]) if it's a text node.
To use, add the following to your testcase:
<script src="reduce.js"> somewhere and
{ origCount: 1, fun: function() { LogDOMHTML(root); } } in fuzzCommands in the location that you want a DOM snapshot (e.g. right before the browser crashes)
| Reporter | ||
Comment 1•18 years ago
|
||
Similar code added to fuzz.js does the same thing better
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Updated•18 years ago
|
Whiteboard: [sg:dupe 339948]
Updated•10 years ago
|
Group: core-security → core-security-release
Updated•10 years ago
|
Group: core-security-release
You need to log in
before you can comment on or make changes to this bug.
Description
•