author | Ehsan Akhgari <ehsan@mozilla.com> |
Wed, 13 May 2015 18:38:39 -0400 | |
changeset 243764 | ce6dc3e6c46f5278db05ee74bfe26b3b4f902135 |
parent 243763 | 7ed1f7ecd6a2ce9b98c682c545035e676781b437 |
child 243765 | 0b122f0b6fcfda45606c4ee6166436201578f167 |
push id | 28753 |
push user | kwierso@gmail.com |
push date | Thu, 14 May 2015 22:33:43 +0000 |
treeherder | mozilla-central@07e2e15703cb [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
bugs | 1154275 |
milestone | 41.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
|
browser/components/uitour/test/browser_UITour_pocket.js | file | annotate | diff | comparison | revisions |
--- 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");