@@ -771,40 +771,18 @@ PanelTest {
771771
772772 var appTitle = findChild(panel.applicationMenus, "panelTitle"); verify(appTitle);
773773 var appMenuRow = findChild(panel.applicationMenus, "panelRow"); verify(appMenuRow);
774− var appMenuBar = findChild(panel, "menuBar"); verify(appMenuBar);
774+ var menuBarLoader = findChild(panel, "menuBarLoader"); verify(menuBarLoader);
775775
776776 tryCompare(appTitle, "visible", true, undefined, "App title should be visible");
777− tryCompare(appMenuBar, "visible", false, undefined, "App menu bar should not be visible");
777+ tryCompare(menuBarLoader, "visible", false, undefined, "App menu bar should not be visible");
778778
779779 mouseMove(panel, panel.width/2, panel.panelHeight);
780780
781+ var appMenuBar = findChild(panel, "menuBar"); verify(appMenuBar);
781782 tryCompare(appTitle, "visible", false, undefined, "App title should not be visible on mouse hover");
782783 tryCompare(appMenuBar, "visible", true, undefined, "App menu bar should be visible on mouse hover");
783784 }
784785
785− function test_windowedApplicationMenuShowOnMouseHoverWhenDecorationsShown() {
786− PanelState.title = "Fake Title";
787− panel.mode = "windowed";
788− mouseEmulation.checked = false;
789−
790− var appTitle = findChild(panel.applicationMenus, "panelTitle"); verify(appTitle);
791− var appMenuRow = findChild(panel.applicationMenus, "panelRow"); verify(appMenuRow);
792− var appMenuBar = findChild(panel, "menuBar"); verify(appMenuBar);
793−
794− tryCompare(appTitle, "visible", true, undefined, "App title should be visible");
795− tryCompare(appMenuBar, "visible", false, undefined, "App menu bar should not be visible");
796−
797− mouseMove(panel, panel.width/2, panel.panelHeight);
798−
799− tryCompare(appTitle, "visible", true, undefined, "App title should still be visible on mouse hover when panel decorations are not visible");
800− tryCompare(appMenuBar, "visible", false, undefined, "App menu bar should be visible on mouse hover when panel decorations are not visible");
801−
802− PanelState.decorationsVisible = true;
803−
804− tryCompare(appTitle, "visible", false, undefined, "App title should still be visible on mouse hover when panel decorations are visible");
805− tryCompare(appMenuBar, "visible", true, undefined, "App menu bar should be visible on mouse hover when panel decorations not visible");
806− }
807−
808786 function test_keyboardNavigation_data() {
809787 return [
810788 {tag: "tab to start", doTab: false},