Closed Bug 1065507 Opened 6 years ago Closed 6 years ago

Remove js_GetterOnlyPropertyStub

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: jorendorff, Assigned: jorendorff)

References

Details

Attachments

(4 files)

I think the only properties that have JSPROP_GETTER but a JSPropertyOp setter are those that use js_GetterOnlyPropertyStub.

But those properties could just as well have no setter. The only difference in behavior is that non-strict assignment would be a no-op instead of an exception. Sloppy, but it's the standard, and DOM bindings behave that way already.

This will enable further simplifications (see bug 1064551).
Assignee: nobody → jorendorff
Status: NEW → ASSIGNED
Attachment #8487408 - Flags: review?(jwalden+bmo)
Attachment #8487404 - Flags: review?(wmccloskey) → review+
Attachment #8487400 - Flags: review?(bobbyholley) → review+
Attachment #8487402 - Flags: review?(bobbyholley) → review+
Attachment #8487408 - Flags: review?(jwalden+bmo) → review+
You need to log in before you can comment on or make changes to this bug.