Closed Bug 1333757 Opened 8 years ago Closed 8 years ago

Add same-compartment and not-marked-gray asserts to JSFunction's initExtendedSlot and setExtendedSlot and NativeObject's initFixedSlot and setFixedSlot

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: till, Assigned: till)

Details

Attachments

(1 file)

We have similar asserts in NativeObject::setSlot, and really should have them for extended and fixed slots, too.
Attached patch Add assertsSplinter Review
Assignee: nobody → till
Status: NEW → ASSIGNED
Attachment #8830291 - Flags: review?(jcoppeard)
Comment on attachment 8830291 [details] [diff] [review] Add asserts Review of attachment 8830291 [details] [diff] [review]: ----------------------------------------------------------------- Great, thanks for doing this.
Attachment #8830291 - Flags: review?(jcoppeard) → review+
Pushed by tschneidereit@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/b4448a970b05 Add some asserts to slot-setting functions on JSFunction and NativeObject. r=jonco
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: