Closed
Bug 1090599
Opened 10 years ago
Closed 10 years ago
Update in-tree jsmin to release-2.0.11 or later
Categories
(Firefox Build System :: Android Studio and Gradle Integration, defect)
Firefox Build System
Android Studio and Gradle Integration
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla36
People
(Reporter: nalexander, Assigned: nalexander)
References
Details
Attachments
(2 files)
13.04 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
4.58 KB,
patch
|
gps
:
review-
|
Details | Diff | Splinter Review |
The in-tree jsmin at python/jsmin has lagged behind upstream jsmin at https://bitbucket.org/dcs/jsmin/. We should update to at least release-2.0.11.
I'd actually like to upgrade past that, to include my fix for backticks in JS at https://bitbucket.org/dcs/jsmin/pull-request/7/fix-for-issue-14-handle-ecmascript-harmony, but it hasn't landed yet.
Assignee | ||
Comment 1•10 years ago
|
||
With an updated jsmin, and my backticks fix, I get identical ASTs and a green try build:
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=67bde4af32bd
Assignee | ||
Comment 2•10 years ago
|
||
This updates to release-2.0.11 (sha1: 04374472ed18) from
https://bitbucket.org/dcs/jsmin/.
Attachment #8513659 -
Flags: review?(gps)
Assignee | ||
Comment 3•10 years ago
|
||
This is my patch to handle backticks from
https://bitbucket.org/dcs/jsmin/pull-request/7/fix-for-issue-14-handle-ecmascript-harmony
It hasn't landed upstream yet; it's not clear that jsmin will support
any Harmony features, so we should land locally and patch up conflicts
as they arise.
gps: It looks like the jsmin tests do not run in automation, and I
don't care to enable them just now.
Attachment #8513662 -
Flags: review?(gps)
Comment 4•10 years ago
|
||
Comment on attachment 8513659 [details] [diff] [review]
Upgrade in-tree jsmin to release-2.0.11. r=gps
Review of attachment 8513659 [details] [diff] [review]:
-----------------------------------------------------------------
rs=me
Attachment #8513659 -
Flags: review?(gps) → review+
Comment 5•10 years ago
|
||
Comment on attachment 8513662 [details] [diff] [review]
Treat `backticks` like 'quotes' in jsmin. r=gps
This is probably OK. But I don't think it buys us much (I think you said making 5 or 10 files out of 1000 work) and isn't worth forking the upstream project over. Let's focus on getting the minifying "framework" in place in automation and then chase the long tail later, if needed.
To explicitly state it: I'm glad you put in this work. Let's get the changes upstreamed then import them into m-c so we can keep running an unmodified package.
Attachment #8513662 -
Flags: review?(gps) → review-
Assignee | ||
Comment 6•10 years ago
|
||
Comment 7•10 years ago
|
||
Assignee: nobody → nalexander
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 36
Updated•6 years ago
|
Product: Firefox for Android → Firefox Build System
Target Milestone: Firefox 36 → mozilla36
You need to log in
before you can comment on or make changes to this bug.
Description
•