Bug 1332592 - FileReader should dispatch onerror+onloadend when OOM occurs - text fixing, r=me CLOSED TREE
authorAndrea Marchesini <amarchesini@mozilla.com>
Fri, 20 Jan 2017 14:54:03 +0100
changeset 358378 0191af5356e0d825815c90301a47cf6fdaad9a1c
parent 358377 13545155cfc0d3124aba1b2f7b73a36b1d9b08b0
child 358379 e4e334566557066f1ed05ebec7031160e1dda49b
push id10621
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 16:02:43 +0000
treeherdermozilla-aurora@dca7b42e6c67 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1332592
milestone53.0a1
Bug 1332592 - FileReader should dispatch onerror+onloadend when OOM occurs - text fixing, r=me CLOSED TREE
dom/base/test/test_bug1198095.html
--- a/dom/base/test/test_bug1198095.html
+++ b/dom/base/test/test_bug1198095.html
@@ -39,17 +39,17 @@ function onLoadEnd1(e) {
     is(String.fromCharCode(view[i]), fileData1[i], "Byte matches");
   }
 
   opener.sendAsyncMessage("file.modify", fileData2);
 }
 
 function onLoadEnd2(e) {
   e.target.removeEventListener('loadend', onLoadEnd2);
-  ok(false, "This method should not be called - loadEnd2!");
+  ok(true, "This method should be called - loadEnd2!");
 }
 
 function onError1(e) {
   ok(false, "This method should not be called - error1!");
 }
 
 function onError2(e) {
   e.target.removeEventListener('error', onError2);