Bug 1241128 - Remove todo non-implemented test for formData, r=smaug
authorAndrea Marchesini <amarchesini@mozilla.com>
Wed, 20 Jan 2016 15:34:59 +0000
changeset 280805 a70f0dbb3191d4b80c392d657894e312781f0f33
parent 280804 fb237e4cf9a22195ee505114136515dbab1626e1
child 280806 6162c46b32ff73e75dd9043693f8280f2a2fd740
push id29922
push usercbook@mozilla.com
push dateThu, 21 Jan 2016 10:51:00 +0000
treeherdermozilla-central@977d78a8dd78 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1241128
milestone46.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 1241128 - Remove todo non-implemented test for formData, r=smaug
dom/html/test/formData_test.js
--- a/dom/html/test/formData_test.js
+++ b/dom/html/test/formData_test.js
@@ -72,20 +72,16 @@ function testSet() {
   f.append("other", "value3");
   is(f.getAll("other").length, 5, "append() should not replace existing entries.");
 
   f.set("other", "value4");
   is(f.getAll("other").length, 1, "set() should replace existing entries.");
   is(f.getAll("other")[0], "value4", "set() should replace existing entries.");
 }
 
-function testIterate() {
-  todo(false, "Implement this in Bug 1085284.");
-}
-
 function testFilename() {
   var f = new FormData();
   // Spec says if a Blob (which is not a File) is added, the name parameter is set to "blob".
   f.append("blob", new Blob(["hi"]));
   is(f.get("blob").name, "blob", "Blob's filename should be blob.");
 
   // If a filename is passed, that should replace the original.
   f.append("blob2", new Blob(["hi"]), "blob2.txt");
@@ -204,15 +200,14 @@ function testSend(doneCb) {
 }
 
 function runTest(doneCb) {
   testHas();
   testGet();
   testGetAll();
   testDelete();
   testSet();
-  testIterate();
   testFilename();
   testIterable();
   // Finally, send an XHR and verify the response matches.
   testSend(doneCb);
 }