Bug 18690 - web page reduction functionality (for inspector) or separate tool?
Summary: web page reduction functionality (for inspector) or separate tool?
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, ToolsHitList
: 19074 (view as bug list)
Depends on: 14524
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-22 18:20 PDT by Eric Seidel (no email)
Modified: 2011-05-26 11:44 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2008-04-22 18:20:11 PDT
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.
Comment 1 Eric Seidel (no email) 2008-04-22 18:24:57 PDT
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).
Comment 2 Eric Seidel (no email) 2008-05-15 15:28:27 PDT
Related to 14524, marking as depends on, since there are no other relations in bugzilla.
Comment 3 Andy Estes 2010-04-12 11:32:55 PDT
Something as simple as undo/redo support would make the inspector more useful when doing reductions.
Comment 4 Adam Roben (:aroben) 2011-05-26 09:53:34 PDT
*** Bug 19074 has been marked as a duplicate of this bug. ***
Comment 5 Adam Roben (:aroben) 2011-05-26 11:44:36 PDT
<rdar://problem/9509306>