Bug 1154275 follow-up: Kill two more ise() usages, landed on a CLOSED TREE
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 13 May 2015 18:38:39 -0400
changeset 243756 ce6dc3e6c46f5278db05ee74bfe26b3b4f902135
parent 243755 7ed1f7ecd6a2ce9b98c682c545035e676781b437
child 243757 0b122f0b6fcfda45606c4ee6166436201578f167
push id59752
push usereakhgari@mozilla.com
push dateWed, 13 May 2015 22:39:32 +0000
treeherdermozilla-inbound@ce6dc3e6c46f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1154275
milestone41.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 1154275 follow-up: Kill two more ise() usages, landed on a CLOSED TREE
browser/components/uitour/test/browser_UITour_pocket.js
--- a/browser/components/uitour/test/browser_UITour_pocket.js
+++ b/browser/components/uitour/test/browser_UITour_pocket.js
@@ -11,17 +11,17 @@ let button;
 Components.utils.import("resource:///modules/UITour.jsm");
 
 function test() {
   UITourTest();
 }
 
 let tests = [
   taskify(function* test_menu_show_navbar() {
-    ise(button.open, false, "Menu should initially be closed");
+    is(button.open, false, "Menu should initially be closed");
     gContentAPI.showMenu("pocket");
 
     // The panel gets created dynamically.
     let widgetPanel = null;
     yield waitForConditionPromise(() => {
       widgetPanel = document.getElementById("customizationui-widget-panel");
       return widgetPanel && widgetPanel.state == "open";
     }, "Menu should be visible after showMenu()");
@@ -31,17 +31,17 @@ let tests = [
     ok(button.hasAttribute("open"), "Pocket button should know that the menu is open");
 
     widgetPanel.hidePopup();
     checkPanelIsHidden(widgetPanel);
   }),
   taskify(function* test_menu_show_appMenu() {
     CustomizableUI.addWidgetToArea("pocket-button", CustomizableUI.AREA_PANEL);
 
-    ise(PanelUI.multiView.hasAttribute("panelopen"), false, "Multiview should initially be closed");
+    is(PanelUI.multiView.hasAttribute("panelopen"), false, "Multiview should initially be closed");
     gContentAPI.showMenu("pocket");
 
     yield waitForConditionPromise(() => {
       return PanelUI.panel.state == "open";
     }, "Menu should be visible after showMenu()");
 
     ok(!PanelUI.panel.hasAttribute("noautohide"), "@noautohide shouldn't be on the pocket panel");
     ok(PanelUI.multiView.showingSubView, "Subview should be open");