Bug 1368194 - add tooltiptext to 'send to device' items in the page action menu, r=adw
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Thu, 08 Jun 2017 12:51:06 +0100
changeset 413556 bfc4b019d8e81e3172dafda44ff36f38ab440a5e
parent 413555 0c8ab344a2491cb9b293ed04ea8c7fa3c1d955e6
child 413557 be872a73b67be9e0f1f9ec5e4b1132d7b862545f
push id1490
push usermtabara@mozilla.com
push dateMon, 31 Jul 2017 14:08:16 +0000
treeherdermozilla-release@70e32e6bf15e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersadw
bugs1368194
milestone55.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 1368194 - add tooltiptext to 'send to device' items in the page action menu, r=adw MozReview-Commit-ID: JZDgR0d4puz
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -7859,16 +7859,17 @@ var gPageActionButton = {
       if (!name) {
         return document.createElement("toolbarseparator");
       }
       let item = document.createElement("toolbarbutton");
       item.classList.add("page-action-sendToDevice-device", "subviewbutton");
       if (clientId) {
         item.classList.add("subviewbutton-iconic");
       }
+      item.setAttribute("tooltiptext", name);
       return item;
     });
 
     if (gSync.remoteClients.length) {
       body.setAttribute("hasdevices", "true");
     } else {
       body.removeAttribute("hasdevices");
     }