rm confusing assignment from NewObjectWithClassProtoCommon

RESOLVED FIXED in Firefox 50

Status

()

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: luke, Assigned: luke)

Tracking

Trunk
mozilla50
Points:
---

Firefox Tracking Flags

(firefox50 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
protoArg is null so this assignment doesn't make sense:
  http://searchfox.org/mozilla-central/rev/a7c8e9f3cc323fd707659175a46826ad12899cd1/js/src/jsobj.cpp#788

Patch also does a tiny bit of tidying up while I'm here.
(Assignee)

Comment 1

3 years ago
Created attachment 8767777 [details] [diff] [review]
simplify-new-obj
Attachment #8767777 - Flags: review?(jorendorff)
Attachment #8767777 - Flags: review?(jorendorff) → review+

Comment 2

3 years ago
Pushed by lwagner@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/722d2bea3844
rm confusing assignment from NewObjectWithClassProtoCommon (r=jorendorff)

Comment 3

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/722d2bea3844
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
status-firefox50: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.