Any use of setter functions causes an assertion failure

VERIFIED FIXED

Status

()

--
critical
VERIFIED FIXED
12 years ago
12 years ago

People

(Reporter: jruderman, Assigned: brendan)

Tracking

(Blocks: 1 bug, {crash, regression, testcase})

Trunk
crash, regression, testcase
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

12 years ago
js> this.__defineSetter__('x', function() { }); x = 3;
Assertion failure: !SPROP_HAS_STUB_GETTER(sprop), at jsobj.c:3498
(Assignee)

Comment 1

12 years ago
Created attachment 250828 [details] [diff] [review]
copy/paste error fix
Assignee: general → brendan
Status: NEW → ASSIGNED
Attachment #250828 - Flags: review+
(Assignee)

Comment 2

12 years ago
Fixed on trunk:

js/src/jsobj.c rev 3.315

Thanks for finding this.

/be
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
OS: Mac OS X 10.4 → All
Hardware: Macintosh → All
Resolution: --- → FIXED
(Reporter)

Updated

12 years ago
No longer blocks: 326633

Comment 3

12 years ago
/cvsroot/mozilla/js/tests/js1_5/Regress/regress-366288.js,v  <--  regress-366288.js
initial revision: 1.1
Flags: in-testsuite+

Comment 4

12 years ago
verified fixed 1.9.0 2007-01-23 win/mac*/linux, passes 1.8.0, 1.8.1 as well.
Status: RESOLVED → VERIFIED
(Reporter)

Updated

12 years ago
No longer blocks: 349611
(Reporter)

Updated

12 years ago
Blocks: 349611
You need to log in before you can comment on or make changes to this bug.