Bug 1285189 - change default value of HTMLTooltip:useXulWrapper to false;r=ochameau

MozReview-Commit-ID: 4uEqkVbqcsC

--HG--
extra : rebase_source : 384969e88f8fb3ed23187c12d305acc113cf6a2c
This commit is contained in:
Julian Descottes 2016-07-07 11:57:29 +02:00
parent 148050f0fb
commit df13b10281

View File

@ -193,14 +193,14 @@ const getRelativeRect = function (node, relativeTo) {
* 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);