Closed
Bug 476624
Opened 16 years ago
Closed 13 years ago
Implementation of [[DefaultValue]] incorrectly calls valueOf, toString with an argument
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 646129
People
(Reporter: Waldo, Assigned: evilpie)
References
Details
(Keywords: testcase)
+++ This bug was initially created as a clone of Bug #470364 +++
That bug got sidetracked into reverting a change that made us *more* spec-compatible, but not consistently across JIT, non-JIT, and it's now marked fixed with fixedmumble keywords off of it. This bug will actually do what the summary of this bug says (and what's in most of the comments in bug 470364).
Updated•16 years ago
|
Flags: in-testsuite+
Reporter | ||
Comment 2•14 years ago
|
||
Not TM-specific, this bug is to change all implementations to not call these methods with an argument at all, per ES3 and ES5 both.
Summary: TM: Implementation of [[DefaultValue]] incorrectly calls valueOf, toString with an argument → Implementation of [[DefaultValue]] incorrectly calls valueOf, toString with an argument
Comment 5•13 years ago
|
||
Cloud9 IDE apparently uses this for UA sniffing, FYI.
Comment 6•13 years ago
|
||
Bug 647847 has some tests
Assignee | ||
Updated•13 years ago
|
Assignee: general → evilpies
Assignee | ||
Comment 7•13 years ago
|
||
If we want to fix this we need to fix valueOf for the Date object. I am pretty sure we had some bug about this, but i had no success finding it.
Reporter | ||
Comment 8•13 years ago
|
||
It's bug 646129, in the dependency list -- and the patch there also fixes this.
Assignee | ||
Comment 9•13 years ago
|
||
This more or less a duplicate of bug 646129, but the issue here has been fixed.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•