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 377638 0191af5356e0d825815c90301a47cf6fdaad9a1c
parent 377637 13545155cfc0d3124aba1b2f7b73a36b1d9b08b0
child 377639 e4e334566557066f1ed05ebec7031160e1dda49b
push id1419
push userjlund@mozilla.com
push dateMon, 10 Apr 2017 20:44:07 +0000
treeherdermozilla-release@5e6801b73ef6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1332592
milestone53.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 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);