Bug 1181717 - add tooltip=aHTMLTooltip to Tooltip.js iframes;r=pbro
authorJulian Descottes <jdescottes@mozilla.com>
Fri, 06 May 2016 19:55:02 +0200
changeset 296597 971309aa7df1443f1c5980339194bb79cfecec8e
parent 296596 cbeb65bea19cef6b91ef50e4e38b473630c984d6
child 296598 9ecdf2bfc28baa20f86c2225b8dc9ff41977ed2e
push id30244
push usercbook@mozilla.com
push dateTue, 10 May 2016 10:03:11 +0000
treeherdermozilla-central@1522462dc620 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbro
bugs1181717
milestone49.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 1181717 - add tooltip=aHTMLTooltip to Tooltip.js iframes;r=pbro MozReview-Commit-ID: 8A28hbquBHB
devtools/client/shared/widgets/Tooltip.js
--- a/devtools/client/shared/widgets/Tooltip.js
+++ b/devtools/client/shared/widgets/Tooltip.js
@@ -640,16 +640,17 @@ Tooltip.prototype = {
     let def = promise.defer();
 
     // Create an iframe
     let iframe = this.doc.createElementNS(XHTML_NS, "iframe");
     iframe.setAttribute("transparent", true);
     iframe.setAttribute("width", width);
     iframe.setAttribute("height", height);
     iframe.setAttribute("flex", "1");
+    iframe.setAttribute("tooltip", "aHTMLTooltip");
     iframe.setAttribute("class", "devtools-tooltip-iframe");
 
     // Wait for the load to initialize the widget
     function onLoad() {
       iframe.removeEventListener("load", onLoad, true);
       def.resolve(iframe);
     }
     iframe.addEventListener("load", onLoad, true);