Closed
Bug 347523
Opened 18 years ago
Closed 18 years ago
nsXBLBinding should use importNode instead of cloneNode
Categories
(Core :: XBL, defect)
Core
XBL
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: peterv, Assigned: peterv)
References
Details
Attachments
(1 file, 1 obsolete file)
2.21 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
since it's moving the cloned nodes into a new document.
Assignee | ||
Comment 1•18 years ago
|
||
Attachment #232324 -
Flags: superreview?(bugmail)
Attachment #232324 -
Flags: review?(bugmail)
Attachment #232324 -
Flags: superreview?(bugmail)
Attachment #232324 -
Flags: superreview+
Attachment #232324 -
Flags: review?(bugmail)
Attachment #232324 -
Flags: review+
Assignee | ||
Comment 2•18 years ago
|
||
I had to back this out because the tree went orange. The problem is the security check in ImportNode fails (XBL node coming from a chrome binding, the document imported into being a content document). I could probably use the nsNodeUtils::Clone function that I added in my patch for bug 347524 instead, which doesn't have the security check.
Status: NEW → ASSIGNED
Depends on: 347524
Comment 3•18 years ago
|
||
Peter, maybe you can share some wisdom on bug https://bugzilla.mozilla.org/show_bug.cgi?id=349526 ? Since mid of August, 2006, we are getting permanent crashes in BeOS port with various stack crawls, but those all have one common thing - calling nsXBLService::LoadBindings() and then crashing few steps later with segment violation, in UUID Generator or in GetFactory
Assignee | ||
Comment 4•18 years ago
|
||
This one works better (it doesn't do the security check, which is what we want, right?).
Attachment #232324 -
Attachment is obsolete: true
Attachment #237716 -
Flags: superreview?(bzbarsky)
Attachment #237716 -
Flags: review?(bzbarsky)
![]() |
||
Comment 5•18 years ago
|
||
Comment on attachment 237716 [details] [diff] [review] v2 Nice! r+sr=bzbarsky
Attachment #237716 -
Flags: superreview?(bzbarsky)
Attachment #237716 -
Flags: superreview+
Attachment #237716 -
Flags: review?(bzbarsky)
Attachment #237716 -
Flags: review+
Assignee | ||
Comment 6•18 years ago
|
||
Tree stayed green this time.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 8•18 years ago
|
||
(In reply to comment #7) > This fix exposed bug 347523. Er, bug 355811. /be
You need to log in
before you can comment on or make changes to this bug.
Description
•