Closed
Bug 996911
Opened 12 years ago
Closed 12 years ago
Make nsIDOMXUL*Element not inherit from nsIDOMXULElement
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(1 file)
JS consumers don't care, and C++ consumers can QI if needed. This will let us make nsIDOMXULElement noscript.
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #8407202 -
Flags: review?(bugs)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Comment 2•12 years ago
|
||
Comment on attachment 8407202 [details] [diff] [review]
Make nsIDOMXUL*Element not inherit from nsIDOMXULElement, so we can make the latter noscript.
>+ nsCOMPtr<nsIDOMXULElement> xulElement(do_QueryInterface(controlElement));
>
> nsCOMPtr<nsIDOMElement> oldKidElem = do_QueryInterface(oldKid);
>- if (controlElement && oldKidElem) {
>+ if (controlElement && xulElement && oldKidElem) {
You don't need controlElement in the |if|
Attachment #8407202 -
Flags: review?(bugs) → review+
Comment 3•12 years ago
|
||
(this needs a try run)
| Assignee | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/30c536b1ee34 with the extra check removed and a try run run.
Flags: in-testsuite-
Comment 5•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•