Closed
Bug 773153
Opened 13 years ago
Closed 13 years ago
With options('allow_xml'), the statement "" < ""; is rejected.
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: regression, testcase)
Attachments
(1 file)
1.44 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
js> void options('allow_xml')
js> ('' < '')
false
js> '' < ''
typein:2: SyntaxError: missing ; before statement:
typein:2: '' < ''
typein:2: ...^
jsfunfuzz noticed this because the decompiler turns something that compiles into something that doesn't:
js> (function() { ('' < '') })
(function () {"" < "";})
js> (function () {"" < "";})
typein:5: SyntaxError: missing ; before statement:
typein:5: (function () {"" < "";})
typein:5: .................^
The first bad revision is:
changeset: 418ad69cfe52
user: Benjamin Peterson
date: Mon Jul 09 23:43:06 2012 -0700
summary: Bug 769072: retroactively apply strict mode to defaults. r=njn
![]() |
||
Comment 2•13 years ago
|
||
Comment on attachment 641370 [details] [diff] [review]
fix
Review of attachment 641370 [details] [diff] [review]:
-----------------------------------------------------------------
e4x cannot die quickly enough.
Attachment #641370 -
Flags: review?(n.nethercote) → review+
Updated•13 years ago
|
Keywords: checkin-needed
![]() |
||
Comment 3•13 years ago
|
||
Thanks for the quick fix & review!
http://hg.mozilla.org/integration/mozilla-inbound/rev/341214c1b964
Keywords: checkin-needed
Target Milestone: --- → mozilla16
Comment 4•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•