Closed
Bug 575575
Opened 14 years ago
Closed 14 years ago
Error in regression test (mozilla/data/js1_5/Array/regress-465980-02.js)
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla2.0b1
People
(Reporter: ricow, Assigned: ricow)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
144 bytes,
patch
|
Waldo
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.86 Safari/533.4 Build Identifier: The test uses the uninitialized index variable in line 166, I will attach a patch to the bug after filing it. Reproducible: Always Steps to Reproduce: 1. Run the test with input that causes this line to get executed 2. 3. Actual Results: Can't lookup index Expected Results: That is expected, since it is not defined.
Comment 2•14 years ago
|
||
Comment on attachment 454829 [details] [diff] [review] Patch to fix test http://hg.mozilla.org/tracemonkey/rev/e13ca0224e02 Thanks for pointing out the problem, have pushed the fix. In the future, if you don't mind, we prefer unified-format patches with some context to them -- line 166 plus file name (which, it's worth noting, isn't in the patch itself) identifies the correct location, but it's impossible to say, just from the patch, that it's actually correct. I had to pull up the test file to double-check the variable actually wasn't defined. Everything worked out fine in the end here, just the difference between good and awesome. :-)
Attachment #454829 -
Flags: review+
Updated•14 years ago
|
Assignee: general → ricow
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
OS: Linux → All
Hardware: x86 → All
Whiteboard: fixed-in-tracemonkey
Target Milestone: --- → mozilla1.9.3b1
Comment 3•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/e13ca0224e02
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•