Bug 1068290 - UI Tour: Add ability to highlight New Private Window icon in chrome. r=MattN a=dolske
authorJustin Dolske <dolske>
Tue, 23 Sep 2014 16:36:00 +0200
changeset 225696 aa77bc7b59e3
parent 225693 00cf6dd17a10
child 225697 d37b92959827
push id3985
push userbmcbride@mozilla.com
push date2014-10-16 01:27 +0000
treeherdermozilla-beta@9d4b08eecd9a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN, dolske
bugs1068290
milestone34.0
Bug 1068290 - UI Tour: Add ability to highlight New Private Window icon in chrome. r=MattN a=dolske
browser/modules/UITour.jsm
browser/modules/test/browser_UITour_availableTargets.js
--- a/browser/modules/UITour.jsm
+++ b/browser/modules/UITour.jsm
@@ -94,16 +94,17 @@ this.UITour = {
                                                         "class",
                                                         "toolbarbutton-icon");
       },
       widgetName: "PanelUI-customize",
     }],
     ["help",        {query: "#PanelUI-help"}],
     ["home",        {query: "#home-button"}],
     ["loop",        {query: "#loop-call-button"}],
+    ["privateWindow",  {query: "#privatebrowsing-button"}],
     ["quit",        {query: "#PanelUI-quit"}],
     ["search",      {
       query: "#searchbar",
       widgetName: "search-container",
     }],
     ["searchProvider", {
       query: (aDocument) => {
         let searchbar = aDocument.getElementById("searchbar");
--- a/browser/modules/test/browser_UITour_availableTargets.js
+++ b/browser/modules/test/browser_UITour_availableTargets.js
@@ -22,16 +22,17 @@ let tests = [
         "addons",
         "appMenu",
         "backForward",
         "bookmarks",
         "customize",
         "help",
         "home",
         "pinnedTab",
+        "privateWindow",
         "quit",
         "search",
         "searchProvider",
         "urlbar",
       ]);
       ok(UITour.availableTargetsCache.has(window),
          "Targets should now be cached");
       done();
@@ -47,16 +48,17 @@ let tests = [
         "accountStatus",
         "addons",
         "appMenu",
         "backForward",
         "customize",
         "help",
         "home",
         "pinnedTab",
+        "privateWindow",
         "quit",
         "search",
         "searchProvider",
         "urlbar",
       ]);
       ok(UITour.availableTargetsCache.has(window),
          "Targets should now be cached again");
       CustomizableUI.reset();
@@ -77,16 +79,17 @@ let tests = [
         "addons",
         "appMenu",
         "backForward",
         "bookmarks",
         "customize",
         "help",
         "home",
         "pinnedTab",
+        "privateWindow",
         "quit",
         "urlbar",
       ]);
       CustomizableUI.reset();
       done();
     });
   },
 ];