WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 121183
121270
Web Inspector: InspectorOverlayPage_html should have minified css and js
https://bugs.webkit.org/show_bug.cgi?id=121270
Summary
Web Inspector: InspectorOverlayPage_html should have minified css and js
Joseph Pecoraro
Reported
2013-09-12 18:21:33 PDT
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> symbols Release/WebCore.framework/WebCore | sed -E 's/^ *0x[0-9a-f]+ *\(( *)0x([^)]+)\)/\1\2/' | sort -r | head -n 30 ... 4880 InspectorOverlayPage_html [NameNList, MangledNameNList, NList] … This is 18.3kb. Minifying the JS and CSS we can do better.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2013-09-12 18:21:50 PDT
<
rdar://problem/14981831
>
Joseph Pecoraro
Comment 2
2013-09-12 18:36:22 PDT
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
Joseph Pecoraro
Comment 3
2013-09-13 13:05:14 PDT
Due to the prior failure. I just rolled this into
bug 121183
. *** This bug has been marked as a duplicate of
bug 121183
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug