Bug 135728

Summary: Web Inspector: Combine and minify Esprima
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web InspectorAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, graouts, joepeck, saam, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Timothy Hatcher
Reported 2014-08-07 15:09:46 PDT
We should minify Esprima. <rdar://problem/17879560>
Attachments
Patch (9.07 KB, patch)
2014-08-07 15:10 PDT, Timothy Hatcher
no flags
Patch (8.94 KB, patch)
2014-08-07 16:30 PDT, Timothy Hatcher
no flags
Patch (11.06 KB, patch)
2014-08-07 23:09 PDT, Timothy Hatcher
no flags
Timothy Hatcher
Comment 1 2014-08-07 15:10:50 PDT
Joseph Pecoraro
Comment 2 2014-08-07 16:11:30 PDT
Comment on attachment 236231 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=236231&action=review r=me > Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl:99 > +open(ESLFILE, '<', $esprimaLicenseFile) or die "Unable to open $$esprimaLicenseFile: $!"; Nit: I think the $$ here is unexpected. > Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl:105 > +$ESPRIMA_LICENSE .= " */\n"; We could make this block a function so we can share with the CodeMirror block. They are identical.
Timothy Hatcher
Comment 3 2014-08-07 16:30:05 PDT
WebKit Commit Bot
Comment 4 2014-08-07 17:04:42 PDT
Comment on attachment 236239 [details] Patch Rejecting attachment 236239 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-01', 'build', '--no-clean', '--no-update', '--build-style=release', '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: Volumes/Data/EWS/WebKit/Source/WebInspectorUI/UserInterface/External/Esprima/LICENSE: No such file or directory at /Volumes/Data/EWS/WebKit/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl line 45. Command /bin/sh failed with exit code 2 ** BUILD FAILED ** The following build commands failed: PhaseScriptExecution Copy\ User\ Interface\ Resources /Volumes/Data/EWS/WebKit/WebKitBuild/WebInspectorUI.build/Release/WebInspectorUI.build/Script-1C60FF1214E6D9AF006CD77D.sh (1 failure) Full output: http://webkit-queues.appspot.com/results/6215676310061056
Joseph Pecoraro
Comment 5 2014-08-07 18:40:27 PDT
(In reply to comment #4) > (From update of attachment 236239 [details]) > Rejecting attachment 236239 [details] from commit-queue. > > Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-01', 'build', '--no-clean', '--no-update', '--build-style=release', '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit > > Last 500 characters of output: > Volumes/Data/EWS/WebKit/Source/WebInspectorUI/UserInterface/External/Esprima/LICENSE: No such file or directory at /Volumes/Data/EWS/WebKit/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl line 45. This new patch is missing the LICENSE file.
Timothy Hatcher
Comment 6 2014-08-07 23:09:12 PDT
Timothy Hatcher
Comment 7 2014-08-07 23:09:22 PDT
Doh!
WebKit Commit Bot
Comment 8 2014-08-07 23:49:10 PDT
Comment on attachment 236267 [details] Patch Clearing flags on attachment: 236267 Committed r172331: <http://trac.webkit.org/changeset/172331>
WebKit Commit Bot
Comment 9 2014-08-07 23:49:13 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.