Bug 1142360 - Move the mochitests for bugs 441782, 467672 and 570378 to the reftest framework. r=dbaron, a=test-only
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 19 Mar 2015 22:06:07 -0400
changeset 252087 62a72d33d16b
parent 252086 72912a71fb98
child 252088 b8ec30b0a437
push id698
push userjlund@mozilla.com
push date2015-03-23 22:08 +0000
treeherdermozilla-release@b0c0ae7b02a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron, test-only
bugs1142360, 441782, 467672, 570378
milestone37.0
Bug 1142360 - Move the mochitests for bugs 441782, 467672 and 570378 to the reftest framework. r=dbaron, a=test-only This will help fix an intermittent test failure as explained in bug 1142360 comment 301. It also has the additional benefit of making things faster overall, since the reflows of the huge mochitest test runner page every time the bidi.numeral pref changes are very expensive, and such overhead doesn't exist in the reftest framework.
layout/base/tests/bidi_numeral_test.js
layout/base/tests/bug441782-1-ref.html
layout/base/tests/bug441782-1.html
layout/base/tests/bug441782-2-ref.html
layout/base/tests/bug441782-2.html
layout/base/tests/bug441782-3-ref.html
layout/base/tests/bug441782-3.html
layout/base/tests/bug441782-4-ref.html
layout/base/tests/bug441782-4.html
layout/base/tests/bug441782-5-ref.html
layout/base/tests/bug441782-5.html
layout/base/tests/bug467672-1-ref.html
layout/base/tests/bug467672-1.html
layout/base/tests/bug467672-2-ref.html
layout/base/tests/bug467672-2.html
layout/base/tests/bug467672-3-ref.html
layout/base/tests/bug467672-3.html
layout/base/tests/bug467672-4-ref.html
layout/base/tests/bug467672-4.html
layout/base/tests/bug467672-5-ref.html
layout/base/tests/bug467672-5.html
layout/base/tests/bug570378-arabic-1-ref.html
layout/base/tests/bug570378-arabic-1.html
layout/base/tests/bug570378-arabic-2-ref.html
layout/base/tests/bug570378-arabic-2.html
layout/base/tests/bug570378-arabic-3-ref.html
layout/base/tests/bug570378-arabic-3.html
layout/base/tests/bug570378-arabic-4-ref.html
layout/base/tests/bug570378-arabic-4.html
layout/base/tests/bug570378-arabic-5-ref.html
layout/base/tests/bug570378-arabic-5.html
layout/base/tests/bug570378-persian-1-ref.html
layout/base/tests/bug570378-persian-1.html
layout/base/tests/bug570378-persian-2-ref.html
layout/base/tests/bug570378-persian-2.html
layout/base/tests/bug570378-persian-3-ref.html
layout/base/tests/bug570378-persian-3.html
layout/base/tests/bug570378-persian-4-ref.html
layout/base/tests/bug570378-persian-4.html
layout/base/tests/bug570378-persian-5-ref.html
layout/base/tests/bug570378-persian-5.html
layout/base/tests/mochitest.ini
layout/base/tests/test_bug441782-1a.html
layout/base/tests/test_bug441782-1b.html
layout/base/tests/test_bug441782-1c.html
layout/base/tests/test_bug441782-1d.html
layout/base/tests/test_bug441782-1e.html
layout/base/tests/test_bug441782-2a.html
layout/base/tests/test_bug441782-2b.html
layout/base/tests/test_bug441782-2c.html
layout/base/tests/test_bug441782-2d.html
layout/base/tests/test_bug441782-2e.html
layout/base/tests/test_bug441782-3a.html
layout/base/tests/test_bug441782-3b.html
layout/base/tests/test_bug441782-3c.html
layout/base/tests/test_bug441782-3d.html
layout/base/tests/test_bug441782-3e.html
layout/base/tests/test_bug441782-4a.html
layout/base/tests/test_bug441782-4b.html
layout/base/tests/test_bug441782-4c.html
layout/base/tests/test_bug441782-4d.html
layout/base/tests/test_bug441782-4e.html
layout/base/tests/test_bug441782-5a.html
layout/base/tests/test_bug441782-5b.html
layout/base/tests/test_bug441782-5c.html
layout/base/tests/test_bug441782-5d.html
layout/base/tests/test_bug441782-5e.html
layout/base/tests/test_bug467672-1a.html
layout/base/tests/test_bug467672-1b.html
layout/base/tests/test_bug467672-1c.html
layout/base/tests/test_bug467672-1d.html
layout/base/tests/test_bug467672-1e.html
layout/base/tests/test_bug467672-1f.html
layout/base/tests/test_bug467672-1g.html
layout/base/tests/test_bug467672-2a.html
layout/base/tests/test_bug467672-2b.html
layout/base/tests/test_bug467672-2c.html
layout/base/tests/test_bug467672-2d.html
layout/base/tests/test_bug467672-2e.html
layout/base/tests/test_bug467672-2f.html
layout/base/tests/test_bug467672-2g.html
layout/base/tests/test_bug467672-3a.html
layout/base/tests/test_bug467672-3b.html
layout/base/tests/test_bug467672-3c.html
layout/base/tests/test_bug467672-3d.html
layout/base/tests/test_bug467672-3e.html
layout/base/tests/test_bug467672-3f.html
layout/base/tests/test_bug467672-3g.html
layout/base/tests/test_bug467672-4a.html
layout/base/tests/test_bug467672-4b.html
layout/base/tests/test_bug467672-4c.html
layout/base/tests/test_bug467672-4d.html
layout/base/tests/test_bug467672-4e.html
layout/base/tests/test_bug467672-4f.html
layout/base/tests/test_bug467672-4g.html
layout/base/tests/test_bug467672-5a.html
layout/base/tests/test_bug467672-5b.html
layout/base/tests/test_bug467672-5c.html
layout/base/tests/test_bug467672-5d.html
layout/base/tests/test_bug467672-5e.html
layout/base/tests/test_bug467672-5f.html
layout/base/tests/test_bug467672-5g.html
layout/base/tests/test_bug570378-arabic-1a.html
layout/base/tests/test_bug570378-arabic-1b.html
layout/base/tests/test_bug570378-arabic-1c.html
layout/base/tests/test_bug570378-arabic-1d.html
layout/base/tests/test_bug570378-arabic-1e.html
layout/base/tests/test_bug570378-arabic-2a.html
layout/base/tests/test_bug570378-arabic-2b.html
layout/base/tests/test_bug570378-arabic-2c.html
layout/base/tests/test_bug570378-arabic-2d.html
layout/base/tests/test_bug570378-arabic-2e.html
layout/base/tests/test_bug570378-arabic-3a.html
layout/base/tests/test_bug570378-arabic-3b.html
layout/base/tests/test_bug570378-arabic-3c.html
layout/base/tests/test_bug570378-arabic-3d.html
layout/base/tests/test_bug570378-arabic-3e.html
layout/base/tests/test_bug570378-arabic-4a.html
layout/base/tests/test_bug570378-arabic-4b.html
layout/base/tests/test_bug570378-arabic-4c.html
layout/base/tests/test_bug570378-arabic-4d.html
layout/base/tests/test_bug570378-arabic-4e.html
layout/base/tests/test_bug570378-arabic-5a.html
layout/base/tests/test_bug570378-arabic-5b.html
layout/base/tests/test_bug570378-arabic-5c.html
layout/base/tests/test_bug570378-arabic-5d.html
layout/base/tests/test_bug570378-arabic-5e.html
layout/base/tests/test_bug570378-persian-1a.html
layout/base/tests/test_bug570378-persian-1b.html
layout/base/tests/test_bug570378-persian-1c.html
layout/base/tests/test_bug570378-persian-1d.html
layout/base/tests/test_bug570378-persian-1e.html
layout/base/tests/test_bug570378-persian-1f.html
layout/base/tests/test_bug570378-persian-1g.html
layout/base/tests/test_bug570378-persian-2a.html
layout/base/tests/test_bug570378-persian-2b.html
layout/base/tests/test_bug570378-persian-2c.html
layout/base/tests/test_bug570378-persian-2d.html
layout/base/tests/test_bug570378-persian-2e.html
layout/base/tests/test_bug570378-persian-2f.html
layout/base/tests/test_bug570378-persian-2g.html
layout/base/tests/test_bug570378-persian-3a.html
layout/base/tests/test_bug570378-persian-3b.html
layout/base/tests/test_bug570378-persian-3c.html
layout/base/tests/test_bug570378-persian-3d.html
layout/base/tests/test_bug570378-persian-3e.html
layout/base/tests/test_bug570378-persian-3f.html
layout/base/tests/test_bug570378-persian-3g.html
layout/base/tests/test_bug570378-persian-4a.html
layout/base/tests/test_bug570378-persian-4b.html
layout/base/tests/test_bug570378-persian-4c.html
layout/base/tests/test_bug570378-persian-4d.html
layout/base/tests/test_bug570378-persian-4e.html
layout/base/tests/test_bug570378-persian-4f.html
layout/base/tests/test_bug570378-persian-4g.html
layout/base/tests/test_bug570378-persian-5a.html
layout/base/tests/test_bug570378-persian-5b.html
layout/base/tests/test_bug570378-persian-5c.html
layout/base/tests/test_bug570378-persian-5d.html
layout/base/tests/test_bug570378-persian-5e.html
layout/base/tests/test_bug570378-persian-5f.html
layout/base/tests/test_bug570378-persian-5g.html
layout/reftests/bidi/numeral/arabic-1-ref.html
layout/reftests/bidi/numeral/arabic-1.html
layout/reftests/bidi/numeral/arabic-2-ref.html
layout/reftests/bidi/numeral/arabic-2.html
layout/reftests/bidi/numeral/arabic-3-ref.html
layout/reftests/bidi/numeral/arabic-3.html
layout/reftests/bidi/numeral/arabic-4-ref.html
layout/reftests/bidi/numeral/arabic-4.html
layout/reftests/bidi/numeral/arabic-5-ref.html
layout/reftests/bidi/numeral/arabic-5.html
layout/reftests/bidi/numeral/bug441782-1-ref.html
layout/reftests/bidi/numeral/bug441782-1.html
layout/reftests/bidi/numeral/bug441782-2-ref.html
layout/reftests/bidi/numeral/bug441782-2.html
layout/reftests/bidi/numeral/bug441782-3-ref.html
layout/reftests/bidi/numeral/bug441782-3.html
layout/reftests/bidi/numeral/bug441782-4-ref.html
layout/reftests/bidi/numeral/bug441782-4.html
layout/reftests/bidi/numeral/bug441782-5-ref.html
layout/reftests/bidi/numeral/bug441782-5.html
layout/reftests/bidi/numeral/bug467672-1-ref.html
layout/reftests/bidi/numeral/bug467672-1.html
layout/reftests/bidi/numeral/bug467672-2-ref.html
layout/reftests/bidi/numeral/bug467672-2.html
layout/reftests/bidi/numeral/bug467672-3-ref.html
layout/reftests/bidi/numeral/bug467672-3.html
layout/reftests/bidi/numeral/bug467672-4-ref.html
layout/reftests/bidi/numeral/bug467672-4.html
layout/reftests/bidi/numeral/bug467672-5-ref.html
layout/reftests/bidi/numeral/bug467672-5.html
layout/reftests/bidi/numeral/persian-1-ref.html
layout/reftests/bidi/numeral/persian-1.html
layout/reftests/bidi/numeral/persian-2-ref.html
layout/reftests/bidi/numeral/persian-2.html
layout/reftests/bidi/numeral/persian-3-ref.html
layout/reftests/bidi/numeral/persian-3.html
layout/reftests/bidi/numeral/persian-4-ref.html
layout/reftests/bidi/numeral/persian-4.html
layout/reftests/bidi/numeral/persian-5-ref.html
layout/reftests/bidi/numeral/persian-5.html
layout/reftests/bidi/numeral/reftest.list
layout/reftests/bidi/reftest.list
deleted file mode 100644
--- a/layout/base/tests/bidi_numeral_test.js
+++ /dev/null
@@ -1,97 +0,0 @@
-// Canvas related code stolen from http://developer.mozilla.org/en/docs/Code_snippets:Canvas
-var RemoteCanvas = function(url, id) {
-    this.url = url;
-    this.id = id;
-    this.snapshot = null;
-};
-
-RemoteCanvas.CANVAS_WIDTH = 200;
-RemoteCanvas.CANVAS_HEIGHT = 100;
-
-RemoteCanvas.prototype.compare = function(otherCanvas, expected) {
-    return compareSnapshots(this.snapshot, otherCanvas.snapshot, expected)[0];
-}
-
-RemoteCanvas.prototype.load = function(callback) {
-  var iframe = document.createElement("iframe");
-  iframe.id = this.id + "-iframe";
-  iframe.width = RemoteCanvas.CANVAS_WIDTH + "px";
-  iframe.height = RemoteCanvas.CANVAS_HEIGHT + "px";
-  iframe.src = this.url;
-  var me = this;
-  iframe.addEventListener("load", function() {
-      me.remotePageLoaded(callback);
-    }, false);
-  window.document.body.appendChild(iframe);
-};
-
-RemoteCanvas.prototype.remotePageLoaded = function(callback) {
-  var ldrFrame = document.getElementById(this.id + "-iframe");
-  this.snapshot = snapshotWindow(ldrFrame.contentWindow);
-  callback(this);
-};
-
-function bidiNumeral(val) {
-  if (typeof val == "undefined")
-    return SpecialPowers.getIntPref("bidi.numeral");
-  else
-    SpecialPowers.setIntPref("bidi.numeral", val);
-}
-
-var bidiNumeralDefault = bidiNumeral();
-
-var currentPass = 0;
-
-function run()
-{
-  SimpleTest.waitForExplicitFinish();
-
-  do_test();
-}
-
-function do_test()
-{
-  var canvases = [];
-  function callbackTestCanvas(canvas)
-  {
-    canvases.push(canvas);
-
-    if (canvases.length == 2) { // when both canvases are loaded
-      if (passes[currentPass].op == "==") {
-        ok(canvases[0].compare(canvases[1], true), "Rendering of reftest " + fileprefix + passes[currentPass].file +
-           " is different with bidi.numeral == " + passes[currentPass].bidiNumeralValue);
-      } else if (passes[currentPass].op == "!=") {
-        ok(canvases[0].compare(canvases[1], false), "Rendering of reftest " + fileprefix + passes[currentPass].file +
-           " is not different with bidi.numeral == " + passes[currentPass].bidiNumeralValue);
-      }
-
-      bidiNumeral(bidiNumeralDefault);
-
-      if (currentPass < passes.length - 1) {
-        ++currentPass;
-        do_test();
-      } else {
-        SimpleTest.finish();
-      }
-    }
-  }
-
-  var fileprefix = passes[currentPass].prefix + "-";
-  var file = passes[currentPass].file;
-
-  var header = document.createElement("p");
-  header.appendChild(document.createTextNode("Testing reftest " + fileprefix + file +
-    " with bidi.numeral == " + passes[currentPass].bidiNumeralValue +
-    " expecting " + passes[currentPass].op));
-  document.body.appendChild(header);
-
-  bidiNumeral(passes[currentPass].bidiNumeralValue);
-
-  var testCanvas = new RemoteCanvas(fileprefix + file + ".html", "test-" + currentPass);
-  testCanvas.load(callbackTestCanvas);
-
-  var refCanvas = new RemoteCanvas(fileprefix + file + "-ref.html", "ref-" + currentPass);
-  refCanvas.load(callbackTestCanvas);
-}
-
-run();
--- a/layout/base/tests/mochitest.ini
+++ b/layout/base/tests/mochitest.ini
@@ -5,58 +5,17 @@ support-files =
   border_radius_hit_testing_iframe.html
   preserve3d_sorting_hit_testing_iframe.html
   image_rgrg-256x256.png
   image_rrgg-256x256.png
   bug369950-subframe.xml
   file_bug842853.sjs
   file_bug842853.html
   enableTestPlugin.js
-  bidi_numeral_test.js
-  bug441782-1.html
-  bug441782-1-ref.html
-  bug441782-2.html
-  bug441782-2-ref.html
-  bug441782-3.html
-  bug441782-3-ref.html
-  bug441782-4.html
-  bug441782-4-ref.html
-  bug441782-5.html
-  bug441782-5-ref.html
-  bug467672-1.html
-  bug467672-1-ref.html
-  bug467672-2.html
-  bug467672-2-ref.html
-  bug467672-3.html
-  bug467672-3-ref.html
-  bug467672-4.html
-  bug467672-4-ref.html
-  bug467672-5.html
-  bug467672-5-ref.html
   bug558663.html
-  bug570378-arabic-1.html
-  bug570378-arabic-1-ref.html
-  bug570378-arabic-2.html
-  bug570378-arabic-2-ref.html
-  bug570378-arabic-3.html
-  bug570378-arabic-3-ref.html
-  bug570378-arabic-4.html
-  bug570378-arabic-4-ref.html
-  bug570378-arabic-5.html
-  bug570378-arabic-5-ref.html
-  bug570378-persian-1.html
-  bug570378-persian-1-ref.html
-  bug570378-persian-2.html
-  bug570378-persian-2-ref.html
-  bug570378-persian-3.html
-  bug570378-persian-3-ref.html
-  bug570378-persian-4.html
-  bug570378-persian-4-ref.html
-  bug570378-persian-5.html
-  bug570378-persian-5-ref.html
   bug644768.html
   bug1061468.html
   bug1061468-ref.html
 
 [test_preserve3d_sorting_hit_testing.html]
 [test_after_paint_pref.html]
 [test_bug993936.html]
 skip-if = e10s
@@ -232,264 +191,23 @@ support-files =
   bug977003_inner_4.html
   bug977003_inner_5.html
   bug977003_inner_6.html
 [test_emulateMedium.html]
 [test_getClientRects_emptytext.html]
 [test_bug858459.html]
 skip-if = toolkit == "gonk" || buildapp == 'mulet' || buildapp == 'b2g' #Bug 931116, b2g desktop specific, initial triage
 
-# Tests for bugs 441782, 467672 and 570378 do not pass reliably on Windows,
 # because of bug 469208.
 [test_bug332655-1.html]
 skip-if = toolkit == "win" || toolkit == 'android'
 [test_bug332655-2.html]
 skip-if = toolkit == "win"
-[test_bug441782-1a.html]
-skip-if = toolkit == "win"
-[test_bug441782-1b.html]
-skip-if = toolkit == "win"
-[test_bug441782-1c.html]
-skip-if = toolkit == "win"
-[test_bug441782-1d.html]
-skip-if = toolkit == "win"
-[test_bug441782-1e.html]
-skip-if = toolkit == "win"
-[test_bug441782-2a.html]
-skip-if = toolkit == "win"
-[test_bug441782-2b.html]
-skip-if = toolkit == "win"
-[test_bug441782-2c.html]
-skip-if = toolkit == "win"
-[test_bug441782-2d.html]
-skip-if = toolkit == "win"
-[test_bug441782-2e.html]
-skip-if = toolkit == "win"
-[test_bug441782-3a.html]
-skip-if = toolkit == "win"
-[test_bug441782-3b.html]
-skip-if = toolkit == "win"
-[test_bug441782-3c.html]
-skip-if = toolkit == "win"
-[test_bug441782-3d.html]
-skip-if = toolkit == "win"
-[test_bug441782-3e.html]
-skip-if = toolkit == "win"
-[test_bug441782-4a.html]
-skip-if = toolkit == "win"
-[test_bug441782-4b.html]
-skip-if = toolkit == "win"
-[test_bug441782-4c.html]
-skip-if = toolkit == "win"
-[test_bug441782-4d.html]
-skip-if = toolkit == "win"
-[test_bug441782-4e.html]
-skip-if = toolkit == "win"
-[test_bug441782-5a.html]
-skip-if = toolkit == "win"
-[test_bug441782-5b.html]
-skip-if = toolkit == "win"
-[test_bug441782-5c.html]
-skip-if = toolkit == "win"
-[test_bug441782-5d.html]
-skip-if = toolkit == "win"
-[test_bug441782-5e.html]
-skip-if = toolkit == "win"
-[test_bug467672-1a.html]
-skip-if = toolkit == "win"
-[test_bug467672-1b.html]
-skip-if = toolkit == "win"
-[test_bug467672-1c.html]
-skip-if = toolkit == "win"
-[test_bug467672-1d.html]
-skip-if = toolkit == "win"
-[test_bug467672-1e.html]
-skip-if = toolkit == "win"
-[test_bug467672-1f.html]
-skip-if = toolkit == "win"
-[test_bug467672-1g.html]
-skip-if = toolkit == "win"
-[test_bug467672-2a.html]
-skip-if = toolkit == "win"
-[test_bug467672-2b.html]
-skip-if = toolkit == "win"
-[test_bug467672-2c.html]
-skip-if = toolkit == "win"
-[test_bug467672-2d.html]
-skip-if = toolkit == "win"
-[test_bug467672-2e.html]
-skip-if = toolkit == "win"
-[test_bug467672-2f.html]
-skip-if = toolkit == "win"
-[test_bug467672-2g.html]
-skip-if = toolkit == "win"
-[test_bug467672-3a.html]
-skip-if = toolkit == "win"
-[test_bug467672-3b.html]
-skip-if = toolkit == "win"
-[test_bug467672-3c.html]
-skip-if = toolkit == "win"
-[test_bug467672-3d.html]
-skip-if = toolkit == "win"
-[test_bug467672-3e.html]
-skip-if = toolkit == "win"
-[test_bug467672-3f.html]
-skip-if = toolkit == "win"
-[test_bug467672-3g.html]
-skip-if = toolkit == "win"
-[test_bug467672-4a.html]
-skip-if = toolkit == "win"
-[test_bug467672-4b.html]
-skip-if = toolkit == "win"
-[test_bug467672-4c.html]
-skip-if = toolkit == "win"
-[test_bug467672-4d.html]
-skip-if = toolkit == "win"
-[test_bug467672-4e.html]
-skip-if = toolkit == "win"
-[test_bug467672-4f.html]
-skip-if = toolkit == "win"
-[test_bug467672-4g.html]
-skip-if = toolkit == "win"
-[test_bug467672-5a.html]
-skip-if = toolkit == "win"
-[test_bug467672-5b.html]
-skip-if = toolkit == "win"
-[test_bug467672-5c.html]
-skip-if = toolkit == "win"
-[test_bug467672-5d.html]
-skip-if = toolkit == "win"
-[test_bug467672-5e.html]
-skip-if = toolkit == "win"
-[test_bug467672-5f.html]
-skip-if = toolkit == "win"
-[test_bug467672-5g.html]
-skip-if = toolkit == "win"
 [test_bug499538-1.html]
 skip-if = toolkit == "win"
-[test_bug570378-arabic-1a.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-1b.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-1c.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-1d.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-1e.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-2a.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-2b.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-2c.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-2d.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-2e.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-3a.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-3b.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-3c.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-3d.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-3e.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-4a.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-4b.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-4c.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-4d.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-4e.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-5a.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-5b.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-5c.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-5d.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-arabic-5e.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-1a.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-1b.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-1c.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-1d.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-1e.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-1f.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-1g.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-2a.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-2b.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-2c.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-2d.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-2e.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-2f.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-2g.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-3a.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-3b.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-3c.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-3d.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-3e.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-3f.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-3g.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-4a.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-4b.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-4c.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-4d.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-4e.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-4f.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-4g.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-5a.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-5b.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-5c.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-5d.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-5e.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-5f.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
-[test_bug570378-persian-5g.html]
-skip-if = (buildapp == 'b2g' && toolkit != 'gonk') || toolkit == "win" #times out
 [test_bug749186.html]
 skip-if = toolkit == "win" || e10s
 [test_bug644768.html]
 skip-if = toolkit == "win"
 [test_flush_on_paint.html]
 skip-if = true || (toolkit == 'android') || (toolkit == "cocoa") # Bug 688128, bug 539356
 [test_getBoxQuads_convertPointRectQuad.html]
 skip-if = (buildapp == 'b2g' && toolkit != 'gonk') # Bug 948948
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-1a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 1, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-1b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 1, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-1c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 1, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-1d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 1, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-1e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 1, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-2a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 2, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-2b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 2, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-2c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 2, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-2d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 2, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-2e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 2, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-3a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 3, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-3b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 3, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-3c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 3, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-3d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 3, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-3e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 3, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-4a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 4, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-4b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 4, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-4c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 4, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-4d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 4, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-4e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 4, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-5a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 5, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-5b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 5, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-5c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 5, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-5d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 5, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug441782-5e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=441782
--->
-<head>
-  <title>Test for Bug 441782</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=441782">Mozilla Bug 441782</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 441782 **/
-
-var passes = [
-  // bug 441782 tests (Arabic)
-  {prefix: "bug441782", file: 5, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-1a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 1, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-1b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 1, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-1c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 1, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-1d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 1, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-1e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 1, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-1f.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 1, bidiNumeralValue: 5, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-1g.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 1, bidiNumeralValue: 6, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-2a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 2, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-2b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 2, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-2c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 2, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-2d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 2, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-2e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 2, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-2f.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 2, bidiNumeralValue: 5, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-2g.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 2, bidiNumeralValue: 6, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-3a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 3, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-3b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 3, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-3c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 3, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-3d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 3, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-3e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 3, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-3f.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 3, bidiNumeralValue: 5, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-3g.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 3, bidiNumeralValue: 6, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-4a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 4, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-4b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 4, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-4c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 4, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-4d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 4, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-4e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 4, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-4f.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 4, bidiNumeralValue: 5, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-4g.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 4, bidiNumeralValue: 6, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-5a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 5, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-5b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 5, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-5c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 5, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-5d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 5, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-5e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 5, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-5f.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 5, bidiNumeralValue: 5, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug467672-5g.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=467672
--->
-<head>
-  <title>Test for Bug 467672</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=467672">Mozilla Bug 467672</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 467672 **/
-
-var passes = [
-  // bug 467672 tests (Arabic and Persian)
-  {prefix: "bug467672", file: 5, bidiNumeralValue: 6, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-1a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 1, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-1b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 1, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-1c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 1, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-1d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 1, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-1e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 1, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-2a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 2, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-2b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 2, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-2c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 2, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-2d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 2, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-2e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 2, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-3a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 3, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-3b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 3, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-3c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 3, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-3d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 3, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-3e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 3, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-4a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 4, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-4b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 4, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-4c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 4, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-4d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 4, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-4e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 4, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-5a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 5, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-5b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 5, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-5c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 5, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-5d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 5, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-arabic-5e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic)
-  {prefix: "bug570378-arabic", file: 5, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-1a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 1, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-1b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 1, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-1c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 1, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-1d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 1, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-1e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 1, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-1f.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 1, bidiNumeralValue: 5, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-1g.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 1, bidiNumeralValue: 6, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-2a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 2, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-2b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 2, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-2c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 2, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-2d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 2, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-2e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 2, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-2f.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 2, bidiNumeralValue: 5, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-2g.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 2, bidiNumeralValue: 6, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-3a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 3, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-3b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 3, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-3c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 3, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-3d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 3, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-3e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 3, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-3f.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 3, bidiNumeralValue: 5, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-3g.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 3, bidiNumeralValue: 6, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-4a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 4, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-4b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 4, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-4c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 4, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-4d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 4, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-4e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 4, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-4f.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 4, bidiNumeralValue: 5, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-4g.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 4, bidiNumeralValue: 6, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-5a.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 5, bidiNumeralValue: 0, op: "!="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-5b.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 5, bidiNumeralValue: 1, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-5c.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 5, bidiNumeralValue: 2, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-5d.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 5, bidiNumeralValue: 3, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-5e.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 5, bidiNumeralValue: 4, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-5f.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 5, bidiNumeralValue: 5, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
deleted file mode 100644
--- a/layout/base/tests/test_bug570378-persian-5g.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<html>
-<!--
-https://bugzilla.mozilla.org/show_bug.cgi?id=570378
--->
-<head>
-  <title>Test for Bug 570378</title>
-  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="text/javascript" src="/tests/SimpleTest/WindowSnapshot.js"></script>
-  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
-</head>
-<body>
-<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=570378">Mozilla Bug 570378</a>
-
-<pre id="test">
-<script type="text/javascript">
-
-/** Test for Bug 570378 **/
-
-var passes = [
-  // bug 570378 tests (Arabic and Persian)
-  {prefix: "bug570378-persian", file: 5, bidiNumeralValue: 6, op: "=="},
-];
-
-</script>
-<script type="text/javascript" src="bidi_numeral_test.js"></script>        
-</pre>
-</body>
-</html>
rename from layout/base/tests/bug570378-arabic-1-ref.html
rename to layout/reftests/bidi/numeral/arabic-1-ref.html
rename from layout/base/tests/bug570378-arabic-1.html
rename to layout/reftests/bidi/numeral/arabic-1.html
rename from layout/base/tests/bug570378-arabic-2-ref.html
rename to layout/reftests/bidi/numeral/arabic-2-ref.html
rename from layout/base/tests/bug570378-arabic-2.html
rename to layout/reftests/bidi/numeral/arabic-2.html
rename from layout/base/tests/bug570378-arabic-3-ref.html
rename to layout/reftests/bidi/numeral/arabic-3-ref.html
rename from layout/base/tests/bug570378-arabic-3.html
rename to layout/reftests/bidi/numeral/arabic-3.html
rename from layout/base/tests/bug570378-arabic-4-ref.html
rename to layout/reftests/bidi/numeral/arabic-4-ref.html
rename from layout/base/tests/bug570378-persian-4.html
rename to layout/reftests/bidi/numeral/arabic-4.html
rename from layout/base/tests/bug570378-arabic-5-ref.html
rename to layout/reftests/bidi/numeral/arabic-5-ref.html
rename from layout/base/tests/bug570378-arabic-5.html
rename to layout/reftests/bidi/numeral/arabic-5.html
rename from layout/base/tests/bug441782-1-ref.html
rename to layout/reftests/bidi/numeral/bug441782-1-ref.html
rename from layout/base/tests/bug441782-1.html
rename to layout/reftests/bidi/numeral/bug441782-1.html
rename from layout/base/tests/bug441782-2-ref.html
rename to layout/reftests/bidi/numeral/bug441782-2-ref.html
rename from layout/base/tests/bug441782-2.html
rename to layout/reftests/bidi/numeral/bug441782-2.html
rename from layout/base/tests/bug441782-3-ref.html
rename to layout/reftests/bidi/numeral/bug441782-3-ref.html
rename from layout/base/tests/bug441782-3.html
rename to layout/reftests/bidi/numeral/bug441782-3.html
rename from layout/base/tests/bug441782-4-ref.html
rename to layout/reftests/bidi/numeral/bug441782-4-ref.html
rename from layout/base/tests/bug441782-4.html
rename to layout/reftests/bidi/numeral/bug441782-4.html
rename from layout/base/tests/bug441782-5-ref.html
rename to layout/reftests/bidi/numeral/bug441782-5-ref.html
rename from layout/base/tests/bug441782-5.html
rename to layout/reftests/bidi/numeral/bug441782-5.html
rename from layout/base/tests/bug467672-1-ref.html
rename to layout/reftests/bidi/numeral/bug467672-1-ref.html
rename from layout/base/tests/bug467672-1.html
rename to layout/reftests/bidi/numeral/bug467672-1.html
rename from layout/base/tests/bug467672-2-ref.html
rename to layout/reftests/bidi/numeral/bug467672-2-ref.html
rename from layout/base/tests/bug467672-2.html
rename to layout/reftests/bidi/numeral/bug467672-2.html
rename from layout/base/tests/bug467672-3-ref.html
rename to layout/reftests/bidi/numeral/bug467672-3-ref.html
rename from layout/base/tests/bug467672-3.html
rename to layout/reftests/bidi/numeral/bug467672-3.html
rename from layout/base/tests/bug467672-4-ref.html
rename to layout/reftests/bidi/numeral/bug467672-4-ref.html
rename from layout/base/tests/bug467672-4.html
rename to layout/reftests/bidi/numeral/bug467672-4.html
rename from layout/base/tests/bug467672-5-ref.html
rename to layout/reftests/bidi/numeral/bug467672-5-ref.html
rename from layout/base/tests/bug467672-5.html
rename to layout/reftests/bidi/numeral/bug467672-5.html
rename from layout/base/tests/bug570378-persian-1-ref.html
rename to layout/reftests/bidi/numeral/persian-1-ref.html
rename from layout/base/tests/bug570378-persian-1.html
rename to layout/reftests/bidi/numeral/persian-1.html
rename from layout/base/tests/bug570378-persian-2-ref.html
rename to layout/reftests/bidi/numeral/persian-2-ref.html
rename from layout/base/tests/bug570378-persian-2.html
rename to layout/reftests/bidi/numeral/persian-2.html
rename from layout/base/tests/bug570378-persian-3-ref.html
rename to layout/reftests/bidi/numeral/persian-3-ref.html
rename from layout/base/tests/bug570378-persian-3.html
rename to layout/reftests/bidi/numeral/persian-3.html
rename from layout/base/tests/bug570378-persian-4-ref.html
rename to layout/reftests/bidi/numeral/persian-4-ref.html
rename from layout/base/tests/bug570378-arabic-4.html
rename to layout/reftests/bidi/numeral/persian-4.html
rename from layout/base/tests/bug570378-persian-5-ref.html
rename to layout/reftests/bidi/numeral/persian-5-ref.html
rename from layout/base/tests/bug570378-persian-5.html
rename to layout/reftests/bidi/numeral/persian-5.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bidi/numeral/reftest.list
@@ -0,0 +1,120 @@
+pref(bidi.numeral,0) != arabic-1.html arabic-1-ref.html
+pref(bidi.numeral,1) == arabic-1.html arabic-1-ref.html
+pref(bidi.numeral,2) == arabic-1.html arabic-1-ref.html
+pref(bidi.numeral,3) == arabic-1.html arabic-1-ref.html
+pref(bidi.numeral,4) == arabic-1.html arabic-1-ref.html
+pref(bidi.numeral,0) != arabic-2.html arabic-2-ref.html
+pref(bidi.numeral,1) == arabic-2.html arabic-2-ref.html
+pref(bidi.numeral,2) == arabic-2.html arabic-2-ref.html
+pref(bidi.numeral,3) == arabic-2.html arabic-2-ref.html
+pref(bidi.numeral,4) == arabic-2.html arabic-2-ref.html
+pref(bidi.numeral,0) != arabic-3.html arabic-3-ref.html
+pref(bidi.numeral,1) == arabic-3.html arabic-3-ref.html
+pref(bidi.numeral,2) == arabic-3.html arabic-3-ref.html
+pref(bidi.numeral,3) == arabic-3.html arabic-3-ref.html
+pref(bidi.numeral,4) == arabic-3.html arabic-3-ref.html
+pref(bidi.numeral,0) != arabic-4.html arabic-4-ref.html
+pref(bidi.numeral,1) == arabic-4.html arabic-4-ref.html
+pref(bidi.numeral,2) == arabic-4.html arabic-4-ref.html
+pref(bidi.numeral,3) == arabic-4.html arabic-4-ref.html
+pref(bidi.numeral,4) == arabic-4.html arabic-4-ref.html
+pref(bidi.numeral,0) != arabic-5.html arabic-5-ref.html
+pref(bidi.numeral,1) == arabic-5.html arabic-5-ref.html
+pref(bidi.numeral,2) == arabic-5.html arabic-5-ref.html
+pref(bidi.numeral,3) == arabic-5.html arabic-5-ref.html
+pref(bidi.numeral,4) == arabic-5.html arabic-5-ref.html
+pref(bidi.numeral,0) != bug441782-1.html bug441782-1-ref.html
+pref(bidi.numeral,1) == bug441782-1.html bug441782-1-ref.html
+pref(bidi.numeral,2) == bug441782-1.html bug441782-1-ref.html
+pref(bidi.numeral,3) == bug441782-1.html bug441782-1-ref.html
+pref(bidi.numeral,4) == bug441782-1.html bug441782-1-ref.html
+pref(bidi.numeral,0) != bug441782-2.html bug441782-2-ref.html
+pref(bidi.numeral,1) == bug441782-2.html bug441782-2-ref.html
+pref(bidi.numeral,2) == bug441782-2.html bug441782-2-ref.html
+pref(bidi.numeral,3) == bug441782-2.html bug441782-2-ref.html
+pref(bidi.numeral,4) == bug441782-2.html bug441782-2-ref.html
+pref(bidi.numeral,0) != bug441782-3.html bug441782-3-ref.html
+fails-if(winWidget&&!layersGPUAccelerated) pref(bidi.numeral,1) == bug441782-3.html bug441782-3-ref.html
+fails-if(winWidget&&!layersGPUAccelerated) pref(bidi.numeral,2) == bug441782-3.html bug441782-3-ref.html
+fails-if(winWidget&&!layersGPUAccelerated) pref(bidi.numeral,3) == bug441782-3.html bug441782-3-ref.html
+pref(bidi.numeral,4) == bug441782-3.html bug441782-3-ref.html
+pref(bidi.numeral,0) != bug441782-4.html bug441782-4-ref.html
+pref(bidi.numeral,1) == bug441782-4.html bug441782-4-ref.html
+pref(bidi.numeral,2) == bug441782-4.html bug441782-4-ref.html
+pref(bidi.numeral,3) == bug441782-4.html bug441782-4-ref.html
+pref(bidi.numeral,4) == bug441782-4.html bug441782-4-ref.html
+pref(bidi.numeral,0) != bug441782-5.html bug441782-5-ref.html
+pref(bidi.numeral,1) == bug441782-5.html bug441782-5-ref.html
+pref(bidi.numeral,2) == bug441782-5.html bug441782-5-ref.html
+pref(bidi.numeral,3) == bug441782-5.html bug441782-5-ref.html
+pref(bidi.numeral,4) == bug441782-5.html bug441782-5-ref.html
+pref(bidi.numeral,0) != bug467672-1.html bug467672-1-ref.html
+pref(bidi.numeral,1) == bug467672-1.html bug467672-1-ref.html
+pref(bidi.numeral,2) == bug467672-1.html bug467672-1-ref.html
+pref(bidi.numeral,3) == bug467672-1.html bug467672-1-ref.html
+pref(bidi.numeral,4) == bug467672-1.html bug467672-1-ref.html
+pref(bidi.numeral,5) == bug467672-1.html bug467672-1-ref.html
+pref(bidi.numeral,6) == bug467672-1.html bug467672-1-ref.html
+pref(bidi.numeral,0) != bug467672-2.html bug467672-2-ref.html
+pref(bidi.numeral,1) == bug467672-2.html bug467672-2-ref.html
+pref(bidi.numeral,2) == bug467672-2.html bug467672-2-ref.html
+pref(bidi.numeral,3) == bug467672-2.html bug467672-2-ref.html
+pref(bidi.numeral,4) == bug467672-2.html bug467672-2-ref.html
+pref(bidi.numeral,5) == bug467672-2.html bug467672-2-ref.html
+pref(bidi.numeral,6) == bug467672-2.html bug467672-2-ref.html
+pref(bidi.numeral,0) != bug467672-3.html bug467672-3-ref.html
+pref(bidi.numeral,1) == bug467672-3.html bug467672-3-ref.html
+pref(bidi.numeral,2) == bug467672-3.html bug467672-3-ref.html
+pref(bidi.numeral,3) == bug467672-3.html bug467672-3-ref.html
+pref(bidi.numeral,4) == bug467672-3.html bug467672-3-ref.html
+pref(bidi.numeral,5) == bug467672-3.html bug467672-3-ref.html
+pref(bidi.numeral,6) == bug467672-3.html bug467672-3-ref.html
+pref(bidi.numeral,0) != bug467672-4.html bug467672-4-ref.html
+pref(bidi.numeral,1) == bug467672-4.html bug467672-4-ref.html
+pref(bidi.numeral,2) == bug467672-4.html bug467672-4-ref.html
+pref(bidi.numeral,3) == bug467672-4.html bug467672-4-ref.html
+pref(bidi.numeral,4) == bug467672-4.html bug467672-4-ref.html
+pref(bidi.numeral,5) == bug467672-4.html bug467672-4-ref.html
+pref(bidi.numeral,6) == bug467672-4.html bug467672-4-ref.html
+pref(bidi.numeral,0) != bug467672-5.html bug467672-5-ref.html
+pref(bidi.numeral,1) == bug467672-5.html bug467672-5-ref.html
+pref(bidi.numeral,2) == bug467672-5.html bug467672-5-ref.html
+pref(bidi.numeral,3) == bug467672-5.html bug467672-5-ref.html
+pref(bidi.numeral,4) == bug467672-5.html bug467672-5-ref.html
+pref(bidi.numeral,5) == bug467672-5.html bug467672-5-ref.html
+pref(bidi.numeral,6) == bug467672-5.html bug467672-5-ref.html
+pref(bidi.numeral,0) != persian-1.html persian-1-ref.html
+pref(bidi.numeral,1) == persian-1.html persian-1-ref.html
+pref(bidi.numeral,2) == persian-1.html persian-1-ref.html
+pref(bidi.numeral,3) == persian-1.html persian-1-ref.html
+pref(bidi.numeral,4) == persian-1.html persian-1-ref.html
+pref(bidi.numeral,5) == persian-1.html persian-1-ref.html
+pref(bidi.numeral,6) == persian-1.html persian-1-ref.html
+pref(bidi.numeral,0) != persian-2.html persian-2-ref.html
+pref(bidi.numeral,1) == persian-2.html persian-2-ref.html
+pref(bidi.numeral,2) == persian-2.html persian-2-ref.html
+pref(bidi.numeral,3) == persian-2.html persian-2-ref.html
+pref(bidi.numeral,4) == persian-2.html persian-2-ref.html
+pref(bidi.numeral,5) == persian-2.html persian-2-ref.html
+pref(bidi.numeral,6) == persian-2.html persian-2-ref.html
+pref(bidi.numeral,0) != persian-3.html persian-3-ref.html
+pref(bidi.numeral,1) == persian-3.html persian-3-ref.html
+pref(bidi.numeral,2) == persian-3.html persian-3-ref.html
+pref(bidi.numeral,3) == persian-3.html persian-3-ref.html
+pref(bidi.numeral,4) == persian-3.html persian-3-ref.html
+pref(bidi.numeral,5) == persian-3.html persian-3-ref.html
+pref(bidi.numeral,6) == persian-3.html persian-3-ref.html
+pref(bidi.numeral,0) != persian-4.html persian-4-ref.html
+pref(bidi.numeral,1) == persian-4.html persian-4-ref.html
+pref(bidi.numeral,2) == persian-4.html persian-4-ref.html
+pref(bidi.numeral,3) == persian-4.html persian-4-ref.html
+pref(bidi.numeral,4) == persian-4.html persian-4-ref.html
+pref(bidi.numeral,5) == persian-4.html persian-4-ref.html
+pref(bidi.numeral,6) == persian-4.html persian-4-ref.html
+pref(bidi.numeral,0) != persian-5.html persian-5-ref.html
+pref(bidi.numeral,1) == persian-5.html persian-5-ref.html
+pref(bidi.numeral,2) == persian-5.html persian-5-ref.html
+pref(bidi.numeral,3) == persian-5.html persian-5-ref.html
+pref(bidi.numeral,4) == persian-5.html persian-5-ref.html
+pref(bidi.numeral,5) == persian-5.html persian-5-ref.html
+pref(bidi.numeral,6) == persian-5.html persian-5-ref.html
--- a/layout/reftests/bidi/reftest.list
+++ b/layout/reftests/bidi/reftest.list
@@ -1,9 +1,10 @@
 include dirAuto/reftest.list
+include numeral/reftest.list
 == bdi-element.html bdi-element-ref.html
 == bidi-000.html bidi-000-ref.html
 == bidi-001.html bidi-001-ref.html
 == bidi-001-j.html bidi-001-ref.html
 == bidi-001-v.html bidi-001-ref.html
 == bidi-002.html bidi-002-ref.html
 fails-if(Android&&AndroidVersion<15) == bidi-003.html bidi-003-ref.html # bug 736726
 == bidi-004.html bidi-004-ref.html