gecko-dev/layout/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 1408293 - Eagerly style new children inserted in XUL listbox. r=bz 2017-10-25 18:00:54 +11:00
grid Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
reftest Backed out changeset d8d5e1376664 (bug 1426797) because it doesn't fail anymore on Windows 2018-02-26 01:38:10 +02:00
test Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
tree Backed out changeset ba4ac537f9a4 (bug 1428087) because the assertion didn't reproduce anymore 2018-02-26 01:35:54 +02:00
BoxObject.cpp
BoxObject.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
ContainerBoxObject.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
ContainerBoxObject.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
ListBoxObject.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
ListBoxObject.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
MenuBoxObject.cpp Bug 1436508 part 11. Remove the use of the nsIDOMKeyEvent::DOM_VK* constants in C++. r=masayuki 2018-02-09 11:17:09 -05:00
MenuBoxObject.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
PopupBoxObject.cpp Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
PopupBoxObject.h Bug 1436902 part 2. Use NS_INLINE_DECL_REFCOUNTING_INHERITED for some classes that have otherwise-empty QI impls. r=mccr8 2018-02-12 15:43:55 -05:00
ScrollBoxObject.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
ScrollBoxObject.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
moz.build Bug 1438024 - Remove nsIMenuBoxObject. r=bz 2018-02-11 11:50:03 +01:00
nsBox.cpp Bug 1431964 part 10. Remove nsIDOMAttr. r=mccr8 2018-01-21 12:07:31 -05:00
nsBox.h Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
nsBoxFrame.cpp Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas 2018-02-13 13:43:28 +13:00
nsBoxFrame.h Bug 1424528 part 2 - Remove nsDidReflowStatus param in DidReflow declarations (automated change). r=dholbert 2017-12-14 16:21:49 +01:00
nsBoxLayout.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsBoxLayout.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsBoxLayoutState.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsBoxLayoutState.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsButtonBoxFrame.cpp Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
nsButtonBoxFrame.h Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz 2017-11-07 01:20:33 +01:00
nsDeckFrame.cpp Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
nsDeckFrame.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsDocElementBoxFrame.cpp Bug 1432186 part 19. Remove the nsIDOMNode::*_NODE constants. r=mccr8 2018-01-29 23:10:53 -05:00
nsGroupBoxFrame.cpp Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas 2018-02-13 13:43:28 +13:00
nsIBoxObject.idl
nsIListBoxObject.idl
nsIRootBox.h Bug 1440682: Make the XUL tooltip stuff saner. r=enn 2018-02-26 15:44:48 +01:00
nsIScrollbarMediator.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsISliderListener.idl
nsImageBoxFrame.cpp Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas 2018-02-13 13:43:28 +13:00
nsImageBoxFrame.h Bug 1432348 - Make we sure call the right version of UpdateDrawResult for the display item geometry used. r=tnikkel 2018-01-29 17:16:51 -05:00
nsLeafBoxFrame.cpp Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas 2018-02-13 13:43:28 +13:00
nsLeafBoxFrame.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsListBoxBodyFrame.cpp Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=catalinb 2018-01-23 14:30:18 +01:00
nsListBoxBodyFrame.h Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz 2017-11-07 01:20:33 +01:00
nsListBoxLayout.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsListBoxLayout.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsListItemFrame.cpp Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
nsListItemFrame.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsMenuBarFrame.cpp Bug 1436508 part 6. Switch layout/xul from nsIDOMKeyEvent to KeyboardEvent. r=masayuki 2018-02-09 11:17:09 -05:00
nsMenuBarFrame.h Bug 1436508 part 6. Switch layout/xul from nsIDOMKeyEvent to KeyboardEvent. r=masayuki 2018-02-09 11:17:09 -05:00
nsMenuBarListener.cpp Bug 1436508 part 11. Remove the use of the nsIDOMKeyEvent::DOM_VK* constants in C++. r=masayuki 2018-02-09 11:17:09 -05:00
nsMenuBarListener.h Bug 1436508 part 11. Remove the use of the nsIDOMKeyEvent::DOM_VK* constants in C++. r=masayuki 2018-02-09 11:17:09 -05:00
nsMenuFrame.cpp Bug 1436508 part 6. Switch layout/xul from nsIDOMKeyEvent to KeyboardEvent. r=masayuki 2018-02-09 11:17:09 -05:00
nsMenuFrame.h Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz 2017-11-07 01:20:33 +01:00
nsMenuParent.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsMenuPopupFrame.cpp Bug 1436508 part 11. Remove the use of the nsIDOMKeyEvent::DOM_VK* constants in C++. r=masayuki 2018-02-09 11:17:09 -05:00
nsMenuPopupFrame.h Bug 1436508 part 6. Switch layout/xul from nsIDOMKeyEvent to KeyboardEvent. r=masayuki 2018-02-09 11:17:09 -05:00
nsPIBoxObject.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsPIListBoxObject.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsPopupSetFrame.cpp Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz 2017-11-07 01:20:33 +01:00
nsPopupSetFrame.h Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz 2017-11-07 01:20:33 +01:00
nsProgressMeterFrame.cpp Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
nsProgressMeterFrame.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsRepeatService.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsRepeatService.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsResizerFrame.cpp Bug 1427512 - Part 29: Remove nsIDOMCSSDeclaration. r=xidorn,jryans,bz 2018-01-11 16:17:57 +08:00
nsResizerFrame.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsRootBoxFrame.cpp Bug 1440682: Make the XUL tooltip stuff saner. r=enn 2018-02-26 15:44:48 +01:00
nsScrollBoxFrame.cpp Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
nsScrollbarButtonFrame.cpp Bug 1425686 - Remove scroll input methods telemetry code. r=kats 2017-12-20 15:16:18 -05:00
nsScrollbarButtonFrame.h Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz 2017-11-07 01:20:33 +01:00
nsScrollbarFrame.cpp Bug 1436508 part 13. Remove nsIDOMMutationEvent constants. r=masayuki 2018-02-09 11:17:10 -05:00
nsScrollbarFrame.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsSliderFrame.cpp Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas 2018-02-13 13:43:28 +13:00
nsSliderFrame.h Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz 2017-11-07 01:20:33 +01:00
nsSplitterFrame.cpp Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas 2018-02-13 13:43:28 +13:00
nsSplitterFrame.h Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz 2017-11-07 01:20:33 +01:00
nsSprocketLayout.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsSprocketLayout.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsStackFrame.cpp Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsStackFrame.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsStackLayout.cpp Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
nsStackLayout.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsTextBoxFrame.cpp Bug 1436904 - Part 1: Add a static constructor function for display items. r=Bas 2018-02-13 13:43:28 +13:00
nsTextBoxFrame.h Bug 1400618 part 1 - Collect NAC / generated content and call DestroyAnonymousContent / UnbindFromTree on those after the frames are destroyed. r=bz 2017-11-07 01:20:33 +01:00
nsTitleBarFrame.cpp Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
nsTitleBarFrame.h Bug 1412346 part 5: (automated patch) Switch a bunch of C++ files in layout to use our standard mode lines. r=jfkthame 2017-10-27 10:33:53 -07:00
nsXULLabelFrame.cpp Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz 2017-12-25 17:50:10 +01:00
nsXULLabelFrame.h Bug 1438309 - Remove `#ifndef MOZ_XUL` from nsXULLabelFrame;r=nalexander 2018-02-14 12:46:24 -08:00
nsXULPopupManager.cpp Bug 1417354 - Introduce nsIDocument::GetPresContext(). r=smaug 2018-02-21 07:00:10 +09:00
nsXULPopupManager.h Bug 1436508 part 11. Remove the use of the nsIDOMKeyEvent::DOM_VK* constants in C++. r=masayuki 2018-02-09 11:17:09 -05:00
nsXULTooltipListener.cpp Bug 1440682: Make the XUL tooltip stuff saner. r=enn 2018-02-26 15:44:48 +01:00
nsXULTooltipListener.h Bug 1440682: Make the XUL tooltip stuff saner. r=enn 2018-02-26 15:44:48 +01:00