<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>18690</bug_id>
          
          <creation_ts>2008-04-22 18:20:11 -0700</creation_ts>
          <short_desc>web page reduction functionality (for inspector) or separate tool?</short_desc>
          <delta_ts>2011-05-26 11:44:36 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, ToolsHitList</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>14524</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aestes</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78601</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-04-22 18:20:11 -0700</bug_when>
    <thetext>web page reduction functionality (for inspector) or separate tool?

I&apos;m not sure this belongs in bugs.webkit.org

But it would be extremely useful to have some basic &quot;reduction generation&quot; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78602</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-04-22 18:24:57 -0700</bug_when>
    <thetext>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).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80569</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-05-15 15:28:27 -0700</bug_when>
    <thetext>Related to 14524, marking as depends on, since there are no other relations in bugzilla.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211682</commentid>
    <comment_count>3</comment_count>
    <who name="Andy Estes">aestes</who>
    <bug_when>2010-04-12 11:32:55 -0700</bug_when>
    <thetext>Something as simple as undo/redo support would make the inspector more useful when doing reductions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>410537</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-05-26 09:53:34 -0700</bug_when>
    <thetext>*** Bug 19074 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>410646</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2011-05-26 11:44:36 -0700</bug_when>
    <thetext>&lt;rdar://problem/9509306&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>