Ticket #2528161 (closed defect)

Reporter


Timmy Willison
Opened: 07/30/12
Last modified: 12/12/12
Status: closed
Type: defect
Resolution: wontfix

Owner


Satyen Desai
Target Release:
Priority:
Summary: "throws" is no longer a reserved keyword, but requires quotes in jQuery 1.8rc1
Description:

Throws was once a reserved keyword, but that is no longer true. Unless YUI means to validate for support of ES3, please update the list of reserved words to exclude throws so it does not need to be
quoted. This property is set to be added in 1.8. We may rename it to avoid any issues, but our opinion is that throws is not a reserved word.

Type: defect Observed in Version: 2.4.7
Component: YUICompressor Severity: S2 (high)
Assigned To: Satyen Desai Target Release:
Location: Priority:
Tags: Relates To:
Browsers: N/A
URL: http://jquery.org
Test Information:

Run the compressor over http://code.jquery.com/jquery-1.8rc1.js. The errors that come up are due to the use of "throws" as a property name. Running development master has other issues that I don't
think are related.

Change History

Jenny Donnelly

YUI Developer

Posted: 12/12/12
  • resolution changed to wontfix
  • status changed from new to closed

Thank you for your bug report. We are deprecating YUI Compressor in favor of yuglify. Please see our announcement for more information: http://www.yuiblog.com/blog/2012/10/16/state-of-yui-compressor/. We will consider migrating these legacy tickets to GitHub if there are community maintainers willing to step up and own them.