Bug 864761 - Remove old debug build check from two tests. r=mbrubeck
authorJim Mathies <jmathies@mozilla.com>
Tue, 23 Apr 2013 16:44:06 -0500
changeset 140635 5ad359f31b905b8020940c25622436d3ab3c3a0d
parent 140634 812da2a6d2f87a3d100537006fddf3460d510cdd
child 140636 4dab39869e57dc37c8ebb86b2628f035aebc33e1
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck
bugs864761
milestone23.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 864761 - Remove old debug build check from two tests. r=mbrubeck
browser/metro/base/tests/mochitest/browser_selection_frame_content.js
browser/metro/base/tests/mochitest/browser_selection_textarea.js
--- a/browser/metro/base/tests/mochitest/browser_selection_frame_content.js
+++ b/browser/metro/base/tests/mochitest/browser_selection_frame_content.js
@@ -208,21 +208,16 @@ gTests.push({
     yield waitForCondition(function () {
       return !SelectionHelperUI.isSelectionUIVisible;
     }, kCommonWaitMs, kCommonPollMs);
     yield hideContextUI();
   },
 });
 
 function test() {
-  if (isDebugBuild()) {
-    todo(false, "selection tests can't run in debug builds.");
-    return;
-  }
-
   if (!isLandscapeMode()) {
     todo(false, "browser_selection_tests need landscape mode to run.");
     return;
   }
 
   requestLongerTimeout(3);
   runTests();
 }
--- a/browser/metro/base/tests/mochitest/browser_selection_textarea.js
+++ b/browser/metro/base/tests/mochitest/browser_selection_textarea.js
@@ -139,21 +139,16 @@ gTests.push({
 
     let text = getTrimmedSelection(textarea).toString();
     let end = text.substring(text.length - "(end)".length);
     is(end, "(end)", "selection test");
   },
 });
 
 function test() {
-  if (isDebugBuild()) {
-    todo(false, "selection tests can't run in debug builds.");
-    return;
-  }
-
   if (!isLandscapeMode()) {
     todo(false, "browser_selection_tests need landscape mode to run.");
     return;
   }
 
   requestLongerTimeout(3);
   runTests();
 }