Bug 1491484 - Skip less of browser_findbar.js on linux opt;r=Gijs
authorBrian Grinstead <bgrinstead@mozilla.com>
Thu, 11 Oct 2018 18:23:52 +0000
changeset 499221 d1c5f2c89b170fc8f60e1b81da1f22d5218dd706
parent 499220 5caf51de3bc86a59b0c6ce236456ffc5685bcf06
child 499222 8878ac1f9f36c00d902b7a5d4e636ffbbc9217de
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1491484
milestone64.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 1491484 - Skip less of browser_findbar.js on linux opt;r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D8390
toolkit/content/tests/browser/browser.ini
toolkit/content/tests/browser/browser_findbar.js
--- a/toolkit/content/tests/browser/browser.ini
+++ b/toolkit/content/tests/browser/browser.ini
@@ -93,17 +93,16 @@ skip-if = !e10s || !crashreporter
 [browser_crash_previous_frameloader.js]
 run-if = e10s && crashreporter
 [browser_datetime_datepicker.js]
 uses-unsafe-cpows = true
 [browser_default_image_filename.js]
 [browser_default_image_filename_redirect.js]
 [browser_f7_caret_browsing.js]
 [browser_findbar.js]
-skip-if = os == "linux" && !debug # Bug 1491484
 [browser_findbar_disabled_manual.js]
 [browser_isSynthetic.js]
 [browser_keyevents_during_autoscrolling.js]
 [browser_label_textlink.js]
 [browser_mediaPlayback.js]
 tags = audiochannel
 [browser_mediaPlayback_mute.js]
 tags = audiochannel
--- a/toolkit/content/tests/browser/browser_findbar.js
+++ b/toolkit/content/tests/browser/browser_findbar.js
@@ -163,16 +163,21 @@ add_task(async function test_reinitializ
  */
 add_task(async function e10sLostKeys() {
   // This test only makes sence in e10s evironment.
   if (!gMultiProcessBrowser) {
     info("Skipping this test because of non-e10s environment.");
     return;
   }
 
+  if (AppConstants.platform == "linux" && !AppConstants.DEBUG) {
+    info("Skipping this test because of linux opt (Bug 1491484).");
+    return;
+  }
+
   let tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, TEST_PAGE_URI);
 
   ok(!gFindBarInitialized, "findbar isn't initialized yet");
 
   await gFindBarPromise;
   let findBar = gFindBar;
   let initialValue = findBar._findField.value;