Closed Bug 611276 Opened 9 years ago Closed 9 years ago

JSOP_CALLEE pushes null, not undefined, for this

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla2.0b8
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: Waldo, Assigned: Waldo)

References

()

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

js> (function test(recurring)
{
  "use strict";
  if (recurring)
    assertEq(this, undefined);
  else
    test(true);
})(false)
typein:14: Error: Assertion failed: got null, expected (void 0)

One-line bug, one-line fix -- I'll get it and a test in the morning.
Attached patch Patch and testSplinter Review
Attachment #489921 - Flags: review?(jimb)
Attachment #489921 - Flags: review?(jimb) → review+
http://hg.mozilla.org/tracemonkey/rev/d6dd9376a3c2
Whiteboard: fixed-in-tracemonkey
Target Milestone: --- → mozilla2.0b8
http://hg.mozilla.org/mozilla-central/rev/d6dd9376a3c2
Status: ASSIGNED → RESOLVED
blocking2.0: --- → betaN+
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.