Bug 1285189 - change default value of HTMLTooltip:useXulWrapper to false;r=ochameau
authorJulian Descottes <jdescottes@mozilla.com>
Thu, 07 Jul 2016 11:57:29 +0200
changeset 304094 6d33f8c374e8e5b832ad6c644fccd25e8041d7b2
parent 304093 5eee8c97b40876ba9b529d70bd6ccec249fc5dce
child 304095 8be08b36d5d8ba576aca59a1994ddbdaed116d74
push id30411
push userkwierso@gmail.com
push dateFri, 08 Jul 2016 00:26:45 +0000
treeherdermozilla-central@23dc78b7b57e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersochameau
bugs1285189
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;