Closed Bug 478797 Opened 16 years ago Closed 6 years ago

Fractional part of Date.valueOf is not truncated on mac.

Categories

(Tamarin Graveyard :: Virtual Machine, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: jodyer, Unassigned)

References

Details

Reproduction: 1.Open the Date3.swf in mac Actual Results:comparing :1173220781217.5952 to: 1173220781217 Are they equal?: false Expected Results:comparing :1173220781217 to: 1173220781217 Are they equal?: true Notes:(from the email from Chris Nuuja) Yes, the ?1173220781217.5952 to: 1173220781217 ? part indicates that the bug is either with the double value truncation logic for mac, else with converting such a number back from internal format to actionscript format. The value returned from valueOf (or getTime() ) should never include a fractional part. It should always be an integer (though usually such a very large integer that we need a Number rather than an int to hold it). Transferred Comments: BugDB Migration - Mon Jun 04 12:32:55 CDT 2007 [ssubrama 3/7/07] Entered Bug. [ssubrama 3/7/07]Files in bug folder [ssubrama 3/7/07] The following ATS tests fail in mac because of this bug Test case id 14397 Ecma3/tests/Date/e15_9_5_21_1_.swf Test case id 14396 Ecma3/tests/Date/e15_9_5_20_.swf Test case id 14423 Ecma3/tests/Date/e15_9_5_23_2_.swf Test case id 14427 Ecma3/tests/Date/e15_9_5_21_1_.swf Test case id 14461Ecma3/tests/Date/e15_9_5_23_8_.swf Test case id 14464 Ecma3/tests/Date/e15_9_5_4_1_.swf Test case id 14425 Ecma3/tests/Date/e15_9_5_23_5_.swf Test case id 14429 Ecma3/tests/Date/e15_9_5_23_9_.swf [ssubrama 3/7/07] Testcase id 14427 is test case e15_9_5_23_7.swf After this bug is fixed Alvin Liuson has to be notified so that he can push the tests from Staging to Shipping JIRA Migration Admin - Mon Jun 04 12:32:55 CDT 2007 Milestone ID = 1442 Milestone = FP 9.2 - Code Complete Build ID = 23568 Build = AVMPLUS_1_0_0_d694 Fix Build ID = null Fix Build = null JIRA Migration Admin - Mon Jun 04 12:32:55 CDT 2007 Move from BugDB issue number 200623 Trevor Baker - Tue Jan 27 16:22:30 CST 2009 to internal review for reprioritization This bug transferred from: http://bugs.adobe.com/jira/browse/ASC-2280
Blocks: AS3_Builtins
Priority: -- → P3
Summary: In the value returned by date.valueof the fractional part is not truncated in mac → In the value returned by Date.valueOf the fractional part is not truncated in mac
Target Milestone: --- → flash10.1
Priority: P3 → P4
Flags: flashplayer-needsversioning+
Target Milestone: flash10.1 → Future
Priority: P4 → --
Flags: flashplayer-qrb+
Summary: In the value returned by Date.valueOf the fractional part is not truncated in mac → Fractional part of Date.valueOf is not truncated on mac.
Tamarin is a dead project now. Mass WONTFIX.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Tamarin isn't maintained anymore. WONTFIX remaining bugs.
You need to log in before you can comment on or make changes to this bug.