Bug 725289 followup, replace remaining mozSlize with slice
authorDão Gottwald <dao@mozilla.com>
Thu, 16 Feb 2012 12:43:08 +0100
changeset 87008 23a142cb2fc10c16d1d84d981bf352b8bc90cc40
parent 87007 c83ba397936fa3a656bc79b890c62fd5c692bfc6
child 87009 c1b718602a5ad36a41cbcfeb3383d2e3586926b9
push id22071
push userbmo@edmorley.co.uk
push dateFri, 17 Feb 2012 11:08:28 +0000
treeherdermozilla-central@08e55f36b731 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs725289
milestone13.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 725289 followup, replace remaining mozSlize with slice
content/base/test/fileutils.js
--- a/content/base/test/fileutils.js
+++ b/content/base/test/fileutils.js
@@ -267,13 +267,13 @@ function testSlice(file, size, type, con
     testFile(slice, sliceContents, testName);
   }
 
   // Slice of slice
   var slice = file.slice(0, 40000);
   testFile(slice.slice(5000, 42000), contents.slice(5000, 40000), "file slice slice");
   
   // ...of slice of slice
-  slice = slice.slice(5000, 42000).mozSlice(400, 700);
+  slice = slice.slice(5000, 42000).slice(400, 700);
   SpecialPowers.gc();
   testFile(slice, contents.slice(5400, 5700), "file slice slice slice");
 }