Closed
Bug 793483
Opened 13 years ago
Closed 9 years ago
Test 10.4.3-1-104.js failure
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bruant.d, Unassigned)
References
(Blocks 1 open bug)
Details
From test262
function testcase(){
Object.defineProperty(Object.prototype, "x", { get: function () { "use strict"; return this; } });
if(!((5).x === 5)) return false;
return true;
}
The issue is that 5 is coerced to an object while it shouldn't.
This should fix Test 10.4.3-1-106 at the same time.
Reporter | ||
Updated•13 years ago
|
Comment 1•13 years ago
|
||
This might be bug 771865. I didn't look at the spec for this, but if getting properties from primitive numbers shouldn't ever coerce to object, then that bug might get a bit easier to implement, too.
Assignee | ||
Updated•11 years ago
|
Assignee: general → nobody
Comment 2•9 years ago
|
||
No longer reproducible, resolving as WFM.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•