Closed
Bug 204734
Opened 23 years ago
Closed 23 years ago
The result of running JavaScript is not correct.
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
VERIFIED
WONTFIX
1.5R5
People
(Reporter: msun, Assigned: norrisboyd)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Build Identifier:
I have the JavaScript below:
if(APPL._event== 'CYBER.NIGHTS')
APPL.startafter=4;
else
APPL.startafter=8;
The result should be 8(if else is chosen)instead of 8.0.
The result of 8.0 only happens when optimization settings is -1.
Reproducible: Always
Steps to Reproduce:
1.Context threadContext = Context.enter();
2.threadContext.setOptimizationLevel(-1);
3.run JavaScript.
Actual Results:
APPL.startafter=8.0
Expected Results:
APPL.startafter=8
This can reproduce by using Rhino 1.5R4.1.
Comment 1•23 years ago
|
||
cc'ing Igor -
Comment 2•23 years ago
|
||
What is APPL and what is _event?
How that 8.0 was obtained?
Without this answers it is not possible to tell anything about it.
Comment 3•23 years ago
|
||
No user input to reproduce the bug, closing as wontfix ( is this the right way
to deal with such situation?)
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
Comment 4•23 years ago
|
||
Marking Verified. (I usually mark such reports as "WORKSFORME",
since no clear bug was indentified that needed fixing.)
msun@cybermation.com: if you can provide more information (see Comment #2),
please reopen this bug and we will be happy to look at it -
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•