Bug 1285189 - change default value of HTMLTooltip:useXulWrapper to false;r=ochameau draft
authorJulian Descottes <jdescottes@mozilla.com>
Thu, 07 Jul 2016 11:57:29 +0200
changeset 384838 384969e88f8fb3ed23187c12d305acc113cf6a2c
parent 384509 5dc96caed88143bdfd03983a1a293ea90c0e672d
child 524800 e0ff8716686cfee1550f37b189f6c2e0dd6ab634
push id22375
push userjdescottes@mozilla.com
push dateThu, 07 Jul 2016 10:00:51 +0000
reviewersochameau
bugs1285189
milestone50.0a1
Bug 1285189 - change default value of HTMLTooltip:useXulWrapper to false;r=ochameau MozReview-Commit-ID: 4uEqkVbqcsC
devtools/client/shared/widgets/HTMLTooltip.js
--- a/devtools/client/shared/widgets/HTMLTooltip.js
+++ b/devtools/client/shared/widgets/HTMLTooltip.js
@@ -188,24 +188,24 @@ const getRelativeRect = function (node, 
  *        - {String} type
  *          Display type of the tooltip. Possible values: "normal", "arrow"
  *        - {Boolean} autofocus
  *          Defaults to false. Should the tooltip be focused when opening it.
  *        - {Boolean} consumeOutsideClicks
  *          Defaults to true. The tooltip is closed when clicking outside.
  *          Should this event be stopped and consumed or not.
  *        - {Boolean} useXulWrapper
- *          Defaults to true. If the tooltip is hosted in a XUL document, use a XUL panel
+ *          Defaults to false. If the tooltip is hosted in a XUL document, use a XUL panel
  *          in order to use all the screen viewport available.
  */
 function HTMLTooltip(toolbox, {
     type = "normal",
     autofocus = false,
     consumeOutsideClicks = true,
-    useXulWrapper = true,
+    useXulWrapper = false,
   } = {}) {
   EventEmitter.decorate(this);
 
   this.doc = toolbox.doc;
   this.type = type;
   this.autofocus = autofocus;
   this.consumeOutsideClicks = consumeOutsideClicks;
   this.useXulWrapper = useXulWrapper;