Bug 1464102 - Add message listener for content-task:test-todo so todo from within ContentTask will work. r=Gijs
☠☠ backed out by 2d538ade0306 ☠ ☠
authorJared Wein <jwein@mozilla.com>
Thu, 24 May 2018 12:00:09 -0400
changeset 476482 43b864db2e34c0b045ace13f0e87c2de4d9ea251
parent 476481 3409c789902c4c2b439ee96c036d5c6b2b70326d
child 476483 3c227d911b2f1827120f00f7031f32d35b3a3b77
push id1757
push userffxbld-merge
push dateFri, 24 Aug 2018 17:02:43 +0000
treeherdermozilla-release@736023aebdb1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1464102
milestone62.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 1464102 - Add message listener for content-task:test-todo so todo from within ContentTask will work. r=Gijs MozReview-Commit-ID: EuWX8eMl8hY
testing/mochitest/BrowserTestUtils/ContentTask.jsm
--- a/testing/mochitest/BrowserTestUtils/ContentTask.jsm
+++ b/testing/mochitest/BrowserTestUtils/ContentTask.jsm
@@ -120,8 +120,9 @@ var ContentMessageListener = {
       ContentTask._testScope.todo(aMessage.data.expr, aMessage.data.name);
     }
   },
 };
 
 Services.mm.addMessageListener("content-task:complete", ContentMessageListener);
 Services.mm.addMessageListener("content-task:test-result", ContentMessageListener);
 Services.mm.addMessageListener("content-task:test-info", ContentMessageListener);
+Services.mm.addMessageListener("content-task:test-todo", ContentMessageListener);