Backed out changeset 77188a492fd2 (bug 1333276) because bug 1312883 is being backed out.
authorRyan VanderMeulen <ryanvm@gmail.com>
Thu, 16 Mar 2017 13:14:30 -0400
changeset 375240 0f1bf946923d601658eed0bf0b67f46386c53a22
parent 375239 77fdb54e3df6e491aaf66ee6bc1f3aa8edba3367
child 375241 6fb7eeaf573e8f25d1cf77900f4daaeb5f90c2c3
push id10906
push userryanvm@gmail.com
push dateThu, 16 Mar 2017 17:15:55 +0000
treeherdermozilla-aurora@6fb7eeaf573e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1333276, 1312883
milestone54.0a2
backs out77188a492fd226731291aa2e6ed16f1c739218e8
Backed out changeset 77188a492fd2 (bug 1333276) because bug 1312883 is being backed out.
toolkit/components/telemetry/tests/unit/test_ThreadHangStats.js
--- a/toolkit/components/telemetry/tests/unit/test_ThreadHangStats.js
+++ b/toolkit/components/telemetry/tests/unit/test_ThreadHangStats.js
@@ -86,17 +86,19 @@ function run_test() {
 
       // Native stack gathering is only enabled on Windows.
       if (mozinfo.os == "win") {
         // Make sure one of the hangs is a permanent
         // hang containing a native stack.
         ok(endHangs.hangs.some((hang) => (
           hang.nativeStack &&
           Array.isArray(hang.nativeStack.memoryMap) &&
-          Array.isArray(hang.nativeStack.stacks)
+          hang.nativeStack.memoryMap.length !== 0 &&
+          Array.isArray(hang.nativeStack.stacks) &&
+          hang.nativeStack.stacks.length !== 0
         )));
       }
 
       check_histogram(endHangs.hangs[0].histogram);
 
       do_test_finished();
     };