Bug 1382601 - Fix test failure in damp due to EventEmitter change; r=pbro.
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Tue, 20 Mar 2018 10:26:19 +0100
changeset 409005 b0b5718ec0708b8c843b6d444f9857d2a0fb7621
parent 409004 c37ee39efce7a318de366e9c2736ca4951e091cd
child 409006 50c5fcf0f6c3139d4e128514447482dcbb3dee52
push id33671
push usercsabou@mozilla.com
push dateTue, 20 Mar 2018 22:23:32 +0000
treeherdermozilla-central@e2e874ceae78 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbro
bugs1382601
milestone61.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 1382601 - Fix test failure in damp due to EventEmitter change; r=pbro. MozReview-Commit-ID: 6eYKhqSZxpV
testing/talos/talos/tests/devtools/addon/content/tests/inspector/mutations.js
--- a/testing/talos/talos/tests/devtools/addon/content/tests/inspector/mutations.js
+++ b/testing/talos/talos/tests/devtools/addon/content/tests/inspector/mutations.js
@@ -39,17 +39,17 @@ module.exports = async function() {
       });
     }`
   ) + ")()", false);
 
   let test = runTest("inspector.mutations");
 
   await new Promise(resolve => {
     let childListMutationsCounter = 0;
-    inspector.on("markupmutation", (evt, mutations) => {
+    inspector.on("markupmutation", mutations => {
       let childListMutations = mutations.filter(m => m.type === "childList");
       childListMutationsCounter += childListMutations.length;
       if (childListMutationsCounter === LIMIT) {
         // Wait until we received exactly n=LIMIT mutations in the markup view.
         resolve();
       }
     });