Bug Tracker


Ticket #8854 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Bug in minifier process

Reported by: anonymous Owned by:
Priority: blocker Milestone: 1.6
Component: build Version: 1.5.2
Keywords: Cc:
Blocking: Blocked by:


I'm not sure what has gone wrong but in the minified version of jQuery

$.when().isResolved === function() { return c
b }
Where as the actual method is function() { return !!(c
b); }.

The minifying process removes the to boolean conversion. There may be more cases of this.

It now either returns undefined or [context, args]

You may want to look into your confidence that minifying does not change functionality.

Change History

comment:1 Changed 3 years ago by timmywil

  • Priority changed from undecided to blocker
  • Status changed from new to open
  • Component changed from unfiled to build
  • Milestone changed from 1.next to 1.6

comment:2 Changed 3 years ago by john

  • Status changed from open to closed
  • Resolution set to fixed

I just updated the version of UglifyJS and this appears to be fixed.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.