Closed
Bug 1128648
Opened 9 years ago
Closed 9 years ago
Remove fretting about DynamicWithObject in Shape::set
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: jorendorff, Assigned: jorendorff)
Details
Attachments
(3 files, 1 obsolete file)
Old old old old code, as indicated by the comment's reference to "it", a demo object that was removed from the shell years ago. A lot has changed since. The fact that the obj argument can simply be changed from HandleObject to HandleNativeObject, without other changes, explains why it's safe to remove the old special case. WithObjects aren't native.
Assignee | ||
Comment 1•9 years ago
|
||
/r/3263 - Bug 1128648 - Remove fretting about DynamicWithObject in Shape::set. r??efaust. Pull down this commit: hg pull review -r b04e74d1ddaa3a7f86655a04e7302d87e1befeb6
Assignee | ||
Comment 2•9 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=8dbf157c35ff
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8558086 [details] MozReview Request: bz://1128648/jorendorff /r/3263 - Bug 1128648 - Remove fretting about DynamicWithObject in Shape::set. r?efaust. Pull down this commit: hg pull review -r 3c1ac8c9c29755a42ad2a549fe9e3635ad003b48
Assignee | ||
Comment 4•9 years ago
|
||
<evilpie> jorendorff: you wish! nobody bothered to set non_native on with yet Tom's right. I filed bug 1128681 to give a permanent home to this outrage, and added an assertion in Shape::set. The shell tests do not trip the assertion; we'll see what a try run turns up.
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8558086 [details] MozReview Request: bz://1128648/jorendorff /r/3263 - Bug 1128648 - Remove fretting about DynamicWithObject in Shape::set. r?efaust. Pull down this commit: hg pull review -r 3c1ac8c9c29755a42ad2a549fe9e3635ad003b48
Attachment #8558086 -
Flags: review?(efaustbmo)
Updated•9 years ago
|
Attachment #8558086 -
Flags: review?(efaustbmo) → review+
Comment 6•9 years ago
|
||
Comment on attachment 8558086 [details] MozReview Request: bz://1128648/jorendorff https://reviewboard.mozilla.org/r/3261/#review2685 LGTM. We will want to make sure we get the WithObject stuff cleaned up, and ensure that they stop flowing through Shape::set if that's unsafe.
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8558086 [details] MozReview Request: bz://1128648/jorendorff /r/3263 - Bug 1128648 - Remove fretting about DynamicWithObject in Shape::set. r=efaust. /r/3311 - Bug 1128732 - Simplify js::DefineProperties. r?efaust. /r/3313 - Bug 1129275 - Remove extra js::SetProperty template. r?efaust. Pull down these commits: hg pull review -r 12796fabc54b3f83be57b22546420c36737b85a8
Attachment #8558086 -
Flags: review+ → review?(efaustbmo)
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8558086 [details]
MozReview Request: bz://1128648/jorendorff
Wat. I didn't mean to attach anything to this bug. I pushed a different patch (unrelated to this bug) for review. Setting the flag back to r+.
Attachment #8558086 -
Flags: review?(efaustbmo) → review+
Comment 9•9 years ago
|
||
https://reviewboard.mozilla.org/r/3263/#review2717 Looks good again. ::: js/src/vm/Shape-inl.h (Diff revision 3) > + MOZ_ASSERT(!obj->is<DynamicWithObject>()); // See bug 1128681. This makes me feel much better about things.
Comment 10•9 years ago
|
||
https://reviewboard.mozilla.org/r/3313/#review2719 Yah.
Assignee | ||
Comment 11•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e4232dc24dc1
https://hg.mozilla.org/mozilla-central/rev/e4232dc24dc1
Assignee: nobody → jorendorff
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox38:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Assignee | ||
Comment 13•9 years ago
|
||
Attachment #8558086 -
Attachment is obsolete: true
Attachment #8619291 -
Flags: review+
Attachment #8619292 -
Flags: review+
Attachment #8619293 -
Flags: review+
Assignee | ||
Comment 14•9 years ago
|
||
Assignee | ||
Comment 15•9 years ago
|
||
Assignee | ||
Comment 16•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•