Bug 1575974 - Correct the expected topic for positive non-zero return values r=me
☠☠ backed out by c0b71b2b56a6 ☠ ☠
authorTom Ritter <tritter@mozilla.com>
Tue, 10 Sep 2019 22:35:46 +0300
changeset 557223 44164f4b9d6d3e1e2a19130b9cf5387604252ae6
parent 557222 9f48d7135ec38137c3c1f0a0718e9f1c558a37d5
child 557224 6a7b9f60a567ff2736d7328f3746402928ebaa27
push id2195
push userffxbld-merge
push dateMon, 25 Nov 2019 12:02:33 +0000
treeherdermozilla-release@19adee6f7bb3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1575974
milestone71.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 1575974 - Correct the expected topic for positive non-zero return values r=me CLOSED TREE
xpcom/tests/unit/test_nsIProcess.js
--- a/xpcom/tests/unit/test_nsIProcess.js
+++ b/xpcom/tests/unit/test_nsIProcess.js
@@ -125,17 +125,17 @@ function test_notify_blocking() {
   var file = get_test_program("TestQuickReturn");
 
   var process = Cc["@mozilla.org/process/util;1"].createInstance(Ci.nsIProcess);
   process.init(file);
 
   process.runAsync([], 0, {
     observe(subject, topic, data) {
       process = subject.QueryInterface(Ci.nsIProcess);
-      Assert.equal(topic, "process-finished");
+      Assert.equal(topic, "process-failed");
       Assert.equal(process.exitValue, 42);
       test_notify_nonblocking();
     },
   });
 }
 
 // test if we get notified about a non-blocking process
 function test_notify_nonblocking() {