Opened 13 years ago
Closed 12 years ago
#5453 closed defect (wontfix)
Shrinksafe barfs on "debugger" command in a file
Reported by: | owen | Owned by: | alex |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | ShrinkSafe | Version: | 1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
It appears that ShrinkSafe? will fail if the "debugger" browser command is found within a JS file. (tested against version at: http://shrinksafe.dojotoolkit.org/ ).
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | shrinksafe_bug.js added |
---|
comment:1 Changed 13 years ago by
Milestone: | → 1.3 |
---|
comment:2 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
the current rev of Rhino throws an error when seeing the debugger keyword, which I think is acceptable, given that it probably should be flagged for a release, and a clear error message is far superior to just returning "null". Users could always re-insert debugging in release images as necessary, though debugging there should be a last resort.
Note: See
TracTickets for help on using
tickets.
File to be shrunk that shows the problem. Output is simply "null" rather than the compressed version of the file.