Closed Bug 793483 Opened 12 years ago Closed 8 years ago

Test 10.4.3-1-104.js failure

Categories

(Core :: JavaScript Engine, defect)

18 Branch
x86
Linux
defect
Not set
normal

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.
Depends on: test262
Blocks: test262
No longer depends on: test262
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: general → nobody
No longer reproducible, resolving as WFM.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.