<?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>121270</bug_id>
          
          <creation_ts>2013-09-12 18:21:33 -0700</creation_ts>
          <short_desc>Web Inspector: InspectorOverlayPage_html should have minified css and js</short_desc>
          <delta_ts>2013-09-13 13:05:14 -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>Web Inspector</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>121183</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joseph Pecoraro">joepeck</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>graouts</cc>
    
    <cc>joepeck</cc>
    
    <cc>rniwa</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>928592</commentid>
    <comment_count>0</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2013-09-12 18:21:33 -0700</bug_when>
    <thetext>As rniwa discovered in bug 121183 these serialized files can be rather large if not compressed before being packed into the WebCore binary. We should minify the css / js in this simple HTML file.

    shell&gt; symbols Release/WebCore.framework/WebCore | sed -E &apos;s/^ *0x[0-9a-f]+ *\(( *)0x([^)]+)\)/\1\2/&apos; | sort -r | head -n 30
    ...
    4880 InspectorOverlayPage_html [NameNList, MangledNameNList, NList] 
    …

This is 18.3kb. Minifying the JS and CSS we can do better.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>928593</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2013-09-12 18:21:50 -0700</bug_when>
    <thetext>&lt;rdar://problem/14981831&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>928597</commentid>
    <comment_count>2</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2013-09-12 18:36:22 -0700</bug_when>
    <thetext>before: 18.13k
  4880 InspectorOverlayPage_html [NameNList, MangledNameNList, NList] 
after: 13.97k
  37e0 InspectorOverlayPage_html [NameNList, MangledNameNList, NList] 

And just the generated size on disk:
   84K   InspectorOverlayPage-after.h
  109K   InspectorOverlayPage-before.h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>928963</commentid>
    <comment_count>3</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2013-09-13 13:05:14 -0700</bug_when>
    <thetext>Due to the prior failure. I just rolled this into bug 121183.

*** This bug has been marked as a duplicate of bug 121183 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>