Closed
Bug 665609
Opened 13 years ago
Closed 13 years ago
Kill AddEventListenerByIID/RemoveEventListenerByIID from content
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
FIXED
mozilla7
People
(Reporter: sicking, Assigned: sicking)
References
Details
Attachments
(2 files)
6.52 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
9.57 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #540521 -
Flags: review?(Olli.Pettay)
Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → jonas
Attachment #540529 -
Flags: review?(jst)
Updated•13 years ago
|
Attachment #540529 -
Flags: review?(jst) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Landed the texteditorstate patch: http://hg.mozilla.org/mozilla-central/rev/ce10fd5d82c6
Updated•13 years ago
|
Attachment #540521 -
Flags: review?(Olli.Pettay) → review+
Comment 3•13 years ago
|
||
Comment on attachment 540521 [details] [diff] [review] Remove from nsXULPopupListener >diff --git a/content/xul/content/src/nsXULPopupListener.cpp b/content/xul/content/src/nsXULPopupListener.cpp >--- a/content/xul/content/src/nsXULPopupListener.cpp >+++ b/content/xul/content/src/nsXULPopupListener.cpp >+nsXULPopupListener::HandleEvent(nsIDOMEvent* aEvent) > nsCOMPtr<nsIDOMMouseEvent> mouseEvent; >- mouseEvent = do_QueryInterface(aMouseEvent); >+ mouseEvent = do_QueryInterface(aEvent); This can be on one line. >@@ -479,12 +467,11 @@ nsXULPopupListener::LaunchPopup(nsIDOMEv > nsresult > NS_NewXULPopupListener(nsIDOMElement* aElement, PRBool aIsContext, > nsIDOMEventListener** aListener) > { > nsXULPopupListener* pl = new nsXULPopupListener(aElement, aIsContext); > if (!pl) > return NS_ERROR_OUT_OF_MEMORY; > >- *aListener = static_cast<nsIDOMMouseListener *>(pl); >- NS_ADDREF(*aListener); >+ NS_ADDREF(*aListener = pl); This can be NS_ADDREF(*aListener = new nsXULPopupListener(aElement, aIsContext));
Assignee | ||
Comment 4•13 years ago
|
||
Checked in the popuplistener patch, including a change to kill NS_NewXULPopupListener completely which got r=ms2ger over irc. http://hg.mozilla.org/integration/mozilla-inbound/rev/d51b398dc5c7
Status: NEW → ASSIGNED
Comment 5•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/d51b398dc5c7 I assume the bug should stay open, otherwise please fix it accordingly.
Assignee | ||
Comment 6•13 years ago
|
||
Nope, it should be fixed now.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla7
Comment 7•13 years ago
|
||
It seems that AddEventListenerByIID/RemoveEventListenerByIID was removed from the content. Setting resolution to VERIFIED FIXED. Thanks.
Status: RESOLVED → VERIFIED
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•