Bug 982875 - Accept up to 2 assertions in Android test_bug682592.html; r=snorp
authorGeoff Brown <gbrown@mozilla.com>
Mon, 14 Apr 2014 10:39:04 -0600
changeset 196874 9da6d7ee48cd88de8fedb11ad0d61059d84d08d5
parent 196873 493ecd06270a80e47ac9650061e1e2e6fbcdeaa0
child 196875 824f4c321887550a291155d3bf28193d2812ea1c
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
bugs982875, 682592
milestone31.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 982875 - Accept up to 2 assertions in Android test_bug682592.html; r=snorp
content/base/test/test_bug682592.html
--- a/content/base/test/test_bug682592.html
+++ b/content/base/test/test_bug682592.html
@@ -34,16 +34,20 @@ 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);
+}
+
 var refFrame = document.getElementById("iframe-ref")
 var testFrame = document.getElementById("iframe-test");
 
 refFrame.addEventListener("load", function() {
   testFrame.addEventListener("load", function() {
     try {
       tests.next();
       ok(compareSnapshots(snapshotWindow(testFrame.contentWindow),