Bug 1068290 - "UI Tour: Add ability to highlight New Private Window icon in chrome". r=MattN
authorJustin Dolske <dolske>
Tue, 23 Sep 2014 16:36:00 +0200
changeset 206873 eda27ff4be07a995b1a91abe02030182b50759ed
parent 206872 903a2f03336f0e7c2ae3fc582e71ed89eca791da
child 206874 70ab0d3eaf0afdd4754a3feee389d464da1c897a
push id27543
push userryanvm@gmail.com
push dateWed, 24 Sep 2014 20:02:22 +0000
treeherdermozilla-central@435732392989 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMattN
bugs1068290
milestone35.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 1068290 - "UI Tour: Add ability to highlight New Private Window icon in chrome". r=MattN
browser/modules/UITour.jsm
browser/modules/test/browser_UITour_availableTargets.js
--- a/browser/modules/UITour.jsm
+++ b/browser/modules/UITour.jsm
@@ -93,16 +93,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
@@ -23,16 +23,17 @@ let tests = [
         "appMenu",
         "backForward",
         "bookmarks",
         "customize",
         "help",
         "home",
         "loop",
         "pinnedTab",
+        "privateWindow",
         "quit",
         "search",
         "searchProvider",
         "urlbar",
       ]);
       ok(UITour.availableTargetsCache.has(window),
          "Targets should now be cached");
       done();
@@ -49,16 +50,17 @@ let tests = [
         "addons",
         "appMenu",
         "backForward",
         "customize",
         "help",
         "loop",
         "home",
         "pinnedTab",
+        "privateWindow",
         "quit",
         "search",
         "searchProvider",
         "urlbar",
       ]);
       ok(UITour.availableTargetsCache.has(window),
          "Targets should now be cached again");
       CustomizableUI.reset();
@@ -80,16 +82,17 @@ let tests = [
         "appMenu",
         "backForward",
         "bookmarks",
         "customize",
         "help",
         "home",
         "loop",
         "pinnedTab",
+        "privateWindow",
         "quit",
         "urlbar",
       ]);
       CustomizableUI.reset();
       done();
     });
   },
 ];