gecko-dev/dom/xul
Emilio Cobos Álvarez 3d6d2d9586 Bug 1440682: Make the XUL tooltip stuff saner. r=enn
We never removed the event listeners (the code was there, lol, but the function
that was supposed to call into the tooltip listener returned
NS_ERROR_NOT_IMPLEMENTED instead).

Furthermore, we added an event listener each time we reframed an element, which
is insane. Basically, each time an element with tooltip / tooltiptext gets its
frame tree reconstructed, we add the even listener, again, and we never free it.

Xidorn pointed out that this is not such a huge deal because we deduplicate
event listeners per spec, but still...

Move the code from the RestyleManager and the frame constructor to AfterSetAttr
/ BindToTree / UnbindFromTree in nsXULElement to hopefully make this saner.

MozReview-Commit-ID: 6BQbIQJ87qt
2018-02-26 15:44:48 +01:00
..
crashtests Bug 1425356 - remove some tests that only make sense when XUL templates are supported, r=mrbkap 2017-12-20 14:28:28 +00:00
test Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-06 09:36:57 -08:00
XULDocument.cpp Bug 1439027: Simplify PresShell::Initialize. r=bz 2018-02-21 12:42:17 +01:00
XULDocument.h Bug 1434399 part 19. Remove nsIXULDocument. r=mystor 2018-01-31 14:49:29 -05:00
moz.build Bug 1434399 part 19. Remove nsIXULDocument. r=mystor 2018-01-31 14:49:29 -05:00
nsForwardReference.h
nsIController.idl
nsIControllers.idl
nsIXULOverlayProvider.idl
nsIXULSortService.idl Bug 1425356 - remove XUL template support, r=bz 2017-12-19 14:11:06 +00:00
nsXULCommandDispatcher.cpp Bug 1432944 part 11. Remove nsIDOMElement::GetAttribute. r=mccr8 2018-01-29 23:28:00 -05:00
nsXULCommandDispatcher.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsXULContentSink.cpp Bug 1440741 - Remove all members from nsIDOMHTMLFormElement. r=qdot 2018-02-23 19:28:08 +01:00
nsXULContentSink.h Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen 2017-06-18 20:37:50 +09:00
nsXULContentUtils.cpp Bug 1434399 part 5. Remove nsIDOMXULDocument's commandDispatcher attribute. r=mystor 2018-01-31 14:49:27 -05:00
nsXULContentUtils.h Bug 1425356 - remove XUL template support, r=bz 2017-12-19 14:11:06 +00:00
nsXULControllers.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsXULControllers.h Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsXULElement.cpp Bug 1440682: Make the XUL tooltip stuff saner. r=enn 2018-02-26 15:44:48 +01:00
nsXULElement.h Bug 1440682: Make the XUL tooltip stuff saner. r=enn 2018-02-26 15:44:48 +01:00
nsXULPopupListener.cpp Bug 1417354 - Introduce nsIDocument::GetPresContext(). r=smaug 2018-02-21 07:00:10 +09:00
nsXULPopupListener.h Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
nsXULPrototypeCache.cpp Backed out 2 changesets (bug 1439047) for Android build bustages. CLOSED TREE 2018-02-24 01:10:22 +02:00
nsXULPrototypeCache.h Bug 1438497 part 3 - Add XUL prototype cache to memory report. r=njn 2018-02-19 21:07:44 +11:00
nsXULPrototypeDocument.cpp Bug 1439056 - Properly handle failure in nsXULPrototypeDocument::Read. r=bz 2018-02-16 18:14:54 -08:00
nsXULPrototypeDocument.h Bug 1434399 part 19. Remove nsIXULDocument. r=mystor 2018-01-31 14:49:29 -05:00
nsXULSortService.cpp Bug 1425440 - Replace RemoveChildAt_Deprecated with RemoveChildNode in nsXULSortService, r=catalinb 2018-01-16 14:17:10 +01:00
nsXULSortService.h Bug 1425356 - remove various dead XUL sort attributes, r=bz,florian 2017-12-20 15:08:27 +00:00