Closed
Bug 1130792
Opened 9 years ago
Closed 8 years ago
Boolean.prototype.valueOf resolves to AS3::valueOf instead of public::valueOf, leading to a wrong result
Categories
(Firefox Graveyard :: Shumway, defect)
Firefox Graveyard
Shumway
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: till, Assigned: mbx)
References
Details
This might well not be fixable. It's caused by us installing the AS3 traits into the normal prototypes for primitive builtins. That leads to Boolean.prototype having definitions for both AS3::valueOf and public::valueOf, and we go for the AS3 version. For some reason that I cannot figure out at all, this is actually not true in the shell: there we correctly resolve to public::valueOf, with the interpreter and both compilers. In the browser, we do the wrong thing always. I'm not sure this matters at all as I have a hard time thinking of any content that would actually depend on this: it should behave the same absolutely everywhere *but* for Boolean.prototype itself.
Updated•9 years ago
|
Assignee: nobody → mbebenita
Blocks: shumway-1.0
Updated•8 years ago
|
Product: Firefox → Firefox Graveyard
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•