Closed
Bug 232132
Opened 21 years ago
Closed 21 years ago
[FIXr]XBL property compilation should really not need to copy the method bodies
Categories
(Core :: XBL, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla1.7beta
People
(Reporter: bzbarsky, Assigned: bzbarsky)
Details
Attachments
(3 files)
16.79 KB,
patch
|
Details | Diff | Splinter Review | |
14.90 KB,
patch
|
timeless
:
review+
bryner
:
superreview+
|
Details | Diff | Splinter Review |
718 bytes,
patch
|
Details | Diff | Splinter Review |
Method compilation uses dependent strings and just doesn't assign directly into
the union. Property compilation should behave similarly.
timeless, if you get a chance to work on this, that would be great; otherwise
I'll do it sometime....
![]() |
Assignee | |
Comment 1•21 years ago
|
||
![]() |
Assignee | |
Comment 2•21 years ago
|
||
![]() |
Assignee | |
Comment 3•21 years ago
|
||
Comment on attachment 140788 [details] [diff] [review]
Same as diff -w
timeless, bryner, could you review? The basic idea is to compile into a
temporary and then delete the text member before assigning into the union.
The rest is just combining some common code into the superclass.
Attachment #140788 -
Flags: superreview?(bryner)
Attachment #140788 -
Flags: review?(timeless)
![]() |
Assignee | |
Comment 4•21 years ago
|
||
![]() |
Assignee | |
Updated•21 years ago
|
Priority: -- → P1
Summary: XBL property compilation should really not need to copy the method bodies → [FIX]XBL property compilation should really not need to copy the method bodies
Target Milestone: --- → mozilla1.7alpha
![]() |
Assignee | |
Comment 5•21 years ago
|
||
Comment on attachment 140788 [details] [diff] [review]
Same as diff -w
Note: I used MPL for the new file, since this is just a bit-for-bit copy of
some existing MPL code (and I left hyatt as the original author for the same
reason).
![]() |
Assignee | |
Comment 6•21 years ago
|
||
Er, "I used NPL". ;)
Updated•21 years ago
|
Attachment #140788 -
Flags: superreview?(bryner) → superreview+
Comment on attachment 140788 [details] [diff] [review]
Same as diff -w
The refcounting for error cases in nsXBLProtoImplMember::AddJSGCRoot /
nsXBLProtoImplMember::RemoveJSGCRoot is faulty (leaky iirc) and could be fixed.
(this isn't a blocker as the handling not changed by this patch)
Attachment #140788 -
Flags: review?(timeless) → review+
![]() |
Assignee | |
Updated•21 years ago
|
Summary: [FIX]XBL property compilation should really not need to copy the method bodies → [FIXr]XBL property compilation should really not need to copy the method bodies
Target Milestone: mozilla1.7alpha → mozilla1.7beta
![]() |
Assignee | |
Comment 8•21 years ago
|
||
Fix checked in for 1.7b
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•