Bug 999429 - Allow up to 4 assertions in Android test_bug682592.html. r=snorp, a=test-only
authorGeoff Brown <gbrown@mozilla.com>
Wed, 30 Apr 2014 09:23:05 -0600
changeset 199043 399882696b93afbae8e6df89e852291c7dc6d715
parent 199042 959fa4cfb483f515730ab444f010ae31598b5222
child 199044 dbe507c0244469967a73180ee819a60041b5ea02
push id3624
push userasasaki@mozilla.com
push dateMon, 09 Jun 2014 21:49:01 +0000
treeherdermozilla-beta@b1a5da15899a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp, test-only
bugs999429, 682592
milestone31.0a2
Bug 999429 - Allow up to 4 assertions in Android test_bug682592.html. r=snorp, a=test-only
content/base/test/test_bug682592.html
--- a/content/base/test/test_bug682592.html
+++ b/content/base/test/test_bug682592.html
@@ -34,18 +34,18 @@ https://bugzilla.mozilla.org/show_bug.cg
    So, instead of many diferent reftests, this mochitest implements a
    reftest-like. It creates reference text fragments in reference iframe, test
    text fragments in test iframe, and compare the documents. Then, it reloads
    test iframe. Reference iframe does not need to be reloaded between tests.
    It's ok (and maybe, desired) to keep bidi always enabled in that document. 
 */
 
 SimpleTest.waitForExplicitFinish();
-if (navigator.platform.startsWith("Linux arm")) {
-  SimpleTest.expectAssertions(0, 2);
+if (navigator.platform.startsWith("Linux arm")) { /* bugs 982875, 999429 */
+  SimpleTest.expectAssertions(0, 4);
 }
 
 var refFrame = document.getElementById("iframe-ref")
 var testFrame = document.getElementById("iframe-test");
 
 refFrame.addEventListener("load", function() {
   testFrame.addEventListener("load", function() {
     try {