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.
Created attachment 8767777 [details] [diff] [review] simplify-new-obj
Attachment #8767777 - Flags: review?(jorendorff)
Attachment #8767777 - Flags: review?(jorendorff) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/722d2bea3844 rm confusing assignment from NewObjectWithClassProtoCommon (r=jorendorff)
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.