Closed Bug 618150 Opened 14 years ago Closed 14 years ago

TM: testApplyCall.js fails after setting Arrray.prototype.__proto__

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 618350

People

(Reporter: jandem, Unassigned)

References

Details

Attachments

(1 file)

1.88 KB, application/x-javascript
Details
Attached file Test case
Attached test case fails with -j.
I wanted to be sure this wasn't some exploitable fallout from bug 605192, but I reduced way past f.apply.  I got it down to this:

  > Object.defineProperty(Object.prototype, 0, {});
  > assertEq([42][0], 42);
  test.js:2: Error: Assertion failed: got (void 0), expected 42
(This fails in the interp)
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: