Closed
Bug 696149
Opened 13 years ago
Closed 13 years ago
Add copies of Math constants and static methods to Number, for symmetry with float.
Categories
(Tamarin Graveyard :: Library, defect, P3)
Tamarin Graveyard
Library
Tracking
(Not tracked)
VERIFIED
FIXED
Q2 12 - Cyril
People
(Reporter: edwsmith, Assigned: lhansen)
References
Details
Attachments
(2 files)
138.38 KB,
patch
|
Details | Diff | Splinter Review | |
9.89 KB,
patch
|
lhansen
:
feedback+
|
Details | Diff | Splinter Review |
From Float spec 16.1: Since we have copied the constants and methods from the Math object onto the float class as static methods (with new signatures), we should copy them onto the Number class as well (with unchanged signatures), so that programmers can write similar-looking code for the two types.
Reporter | ||
Updated•13 years ago
|
Blocks: float/float4
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → lhansen
Assignee | ||
Comment 2•13 years ago
|
||
Depends on whether you're asking me ("no") or PARB ("yes")... You're right, I'll unlink it.
No longer blocks: float/float4
Assignee | ||
Comment 3•13 years ago
|
||
Re-blocking float/float4 because it has been implemented and it's useful to keep track of it. changeset: 6938:a50f9648c2d7 tag: tip user: Lars T Hansen <lhansen@adobe.com> date: Mon Nov 21 10:34:23 2011 +0100 summary: Copy constants and methods from Math to Number
Blocks: float/float4
Status: NEW → RESOLVED
Closed: 13 years ago
Priority: -- → P3
Resolution: --- → FIXED
Target Milestone: --- → Q2 12 - Cyril
Updated•13 years ago
|
Flags: flashplayer-triage+
Flags: flashplayer-qrb+
Flags: flashplayer-bug-
QA Contact: library → brbaker
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
changeset: 6943:51541d7832a0 tag: tip user: Brent Baker <brbaker@adobe.com> date: Tue Nov 22 06:22:38 2011 -0500 summary: Bug 696149: add testmedia for new Number static methods and constants.
Comment 6•13 years ago
|
||
This patch adds some simple API version testing to make sure that only -api SWF_16+ is able to see the new methods and constants on the Number class. This patch also contains a change to mimic how 'USES_SWFVERSION' is handled in the acceptance suite so that a single abc can be run multiple times using different -api switch values.
Attachment #576152 -
Flags: feedback?(lhansen)
Comment 7•13 years ago
|
||
(In reply to Brent Baker from comment #6) > Created attachment 576152 [details] [diff] [review] [diff] [details] [review] > API version testing changeset: 6945:06df61d98f31 tag: tip user: Brent Baker <brbaker@adobe.com> date: Tue Nov 22 10:09:00 2011 -0500 summary: Bug 696149: add some API versioning testing around the new Number constants and static methods.
Status: RESOLVED → VERIFIED
Flags: in-testsuite? → in-testsuite+
Assignee | ||
Comment 8•13 years ago
|
||
Comment on attachment 576152 [details] [diff] [review] API version testing A comment to the effect that "20" is the API version that corresponds to SWF16 would be helpful, took me a little while to track that down.
Attachment #576152 -
Flags: feedback?(lhansen) → feedback+
Comment 9•13 years ago
|
||
changeset: 6742:9c8b5cb0c79e user: Brent Baker <brbaker@adobe.com> summary: No bug: Reorganizing a Number testcase in preparation for landing bug 696149 which is in the float branch http://hg.mozilla.org/tamarin-redux/rev/9c8b5cb0c79e
Comment 10•13 years ago
|
||
changeset: 7095:95fcccdb79e6 tag: tip user: Brent Baker <brbaker@adobe.com> date: Fri Dec 16 09:12:16 2011 -0500 summary: Bug 696149: fix a couple of issues in the test media for Number.min and Number.log
You need to log in
before you can comment on or make changes to this bug.
Description
•