Bug 1396324 followup. Add comment referencing this bug to the test. draft
authorJan Henning <jh+bugzilla@buttercookie.de>
Sat, 09 Sep 2017 22:54:55 +0200
changeset 661947 008326410ddc893ca8bafac4ffb985c89474f42e
parent 661946 23651e91281222bff8326ffbaef17d1c48ee7bbf
child 730711 a9c0d4370cde182202f6a25d96f6da5ea2e8954d
push id78915
push usermozilla@buttercookie.de
push dateSat, 09 Sep 2017 20:58:45 +0000
bugs1396324
milestone57.0a1
Bug 1396324 followup. Add comment referencing this bug to the test. DONTBUILD MozReview-Commit-ID: AFEnH5VSuM4
mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/testSessionOOMSave.java
--- a/mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/testSessionOOMSave.java
+++ b/mobile/android/tests/browser/robocop/src/org/mozilla/gecko/tests/testSessionOOMSave.java
@@ -14,16 +14,20 @@ public class testSessionOOMSave extends 
 
     private HomeConfig.Editor mEditor;
     private String mDefaultPanelId;
 
     @Override
     protected void setUp() throws Exception {
         super.setUp();
 
+        // Having the Activity Stream home panel active during this test seems to cause relatively
+        // frequent intermittent crashes, so for now, we avoid loading it by setting a different
+        // default panel for this test (bug 1396324).
+        // TODO: Remove the workaround once crashes have been fixed (bug 1398532).
         final HomeConfig homeConfig = HomeConfig.getDefault(getInstrumentation().getTargetContext());
         final HomeConfig.State state = homeConfig.load();
         mEditor = state.edit();
         mDefaultPanelId = mEditor.getDefaultPanelId();
         mEditor.setDefault(HomeConfig.getIdForBuiltinPanelType(HomeConfig.PanelType.BOOKMARKS));
         mEditor.apply();
     }