No bug - Skipping browser_UITour_loop.js tests using showMenuPromise on Linux due to "can't access dead object" a=bustage
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Mon, 22 Dec 2014 15:08:30 -0500
changeset 234321 c4fb0dcfb8ad384ec4e74829d4d19313d8a93f94
parent 234320 d1d3584dade2b06d2c03fb7025099d5f154aa99e
child 234322 9d2cf73901c849bbaa7f0f5a0a359b6a8f3ec851
push id4265
push usermozilla@noorenberghe.ca
push dateMon, 22 Dec 2014 20:10:26 +0000
treeherdermozilla-beta@c4fb0dcfb8ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
milestone35.0
No bug - Skipping browser_UITour_loop.js tests using showMenuPromise on Linux due to "can't access dead object" a=bustage
browser/modules/test/browser_UITour_loop.js
--- a/browser/modules/test/browser_UITour_loop.js
+++ b/browser/modules/test/browser_UITour_loop.js
@@ -153,16 +153,20 @@ let tests = [
           chatWin.navigator.wrappedJSObject.mozLoop.composeEmail = oldComposeEmail;
         };
         executeSoon(() => chatWin.document.querySelector(".btn-email").click());
       });
     });
     LoopRooms.open("fakeTourRoom");
   },
   taskify(function* test_arrow_panel_position() {
+    if (Services.appinfo.OS == "Linux") {
+      ok(true, "Skipping on Linux due to 'can't access dead object'");
+      return;
+    }
     ise(loopButton.open, false, "Menu should initially be closed");
     let popup = document.getElementById("UITourTooltip");
 
     yield showMenuPromise("loop");
 
     let currentTarget = "loop-newRoom";
     yield showInfoPromise(currentTarget, "This is " + currentTarget, "My arrow should be on the side");
     is(popup.popupBoxObject.alignmentPosition, "start_before", "Check " + currentTarget + " position");
@@ -181,16 +185,21 @@ let tests = [
 
     yield waitForConditionPromise(() => {
       return Services.prefs.getBoolPref("loop.gettingStarted.resumeOnFirstJoin");
     }, "Pref should change to true via setConfiguration");
 
     Services.prefs.clearUserPref("loop.gettingStarted.resumeOnFirstJoin");
   }),
   taskify(function* test_resumeViaMenuPanel_roomClosedTabOpen() {
+    if (Services.appinfo.OS == "Linux") {
+      ok(true, "Skipping on Linux due to 'can't access dead object'");
+      return;
+    }
+
     Services.prefs.setBoolPref("loop.gettingStarted.resumeOnFirstJoin", true);
 
     // Create a fake room and then add a fake non-owner participant
     let roomsMap = setupFakeRoom();
     roomsMap.get("fakeTourRoom").participants = [{
       owner: false,
     }];
 
@@ -209,16 +218,21 @@ let tests = [
 
     // Now open the menu while that non-owner is in the fake room to trigger resuming the tour
     yield showMenuPromise("loop");
 
     yield observationPromise;
     Services.prefs.clearUserPref("loop.gettingStarted.resumeOnFirstJoin");
   }),
   taskify(function* test_resumeViaMenuPanel_roomClosedTabClosed() {
+    if (Services.appinfo.OS == "Linux") {
+      ok(true, "Skipping on Linux due to 'can't access dead object'");
+      return;
+    }
+
     Services.prefs.setBoolPref("loop.gettingStarted.resumeOnFirstJoin", true);
 
     info("Create a fake room and then add a fake non-owner participant");
     let roomsMap = setupFakeRoom();
     roomsMap.get("fakeTourRoom").participants = [{
       owner: false,
     }];