Bug 18690
Summary: | web page reduction functionality (for inspector) or separate tool? | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | aestes |
Priority: | P2 | Keywords: | InRadar, ToolsHitList |
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 | ||
Bug Depends on: | 14524 | ||
Bug Blocks: |
Eric Seidel (no email)
web page reduction functionality (for inspector) or separate tool?
I'm not sure this belongs in bugs.webkit.org
But it would be extremely useful to have some basic "reduction generation" tools for WebKit.
Ideas:
1. zap/delete parts of the DOM, visually (and have n-level undo of these zaps)
2. pretty-print javascript (this is covered by other bugs
3. do a set of actions, and then automatically strip any JS from the DOM which was not touched by those actions.
4. Automatically prune unused CSS.
This may need to be a separate tool. I wonder if it could be made into a web tool.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
Oh, simple one: it should squash all the JS/CSS into one file. (And replace any calls to Math.random, etc. with things that return a static value).
Eric Seidel (no email)
Related to 14524, marking as depends on, since there are no other relations in bugzilla.
Andy Estes
Something as simple as undo/redo support would make the inspector more useful when doing reductions.
Adam Roben (:aroben)
*** Bug 19074 has been marked as a duplicate of this bug. ***
Adam Roben (:aroben)
<rdar://problem/9509306>