Bug 1289742. P7 - print PR logs for debugging r=kaku
authorJW Wang <jwwang@mozilla.com>
Mon, 06 Mar 2017 15:38:58 +0800
changeset 345999 ca56682eb7c1388fb3cef8c4692b0f1cac2b909d
parent 345998 c3f28dc126fa6dee249c0a4a5c80fcdf3c3d19c7
child 346000 b73a2e4a93d738c20291a04cf8b5d0d35801c468
push id38385
push userjwwang@mozilla.com
push dateMon, 06 Mar 2017 09:22:15 +0000
treeherderautoland@b73a2e4a93d7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskaku
bugs1289742
milestone54.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 1289742. P7 - print PR logs for debugging r=kaku MozReview-Commit-ID: 2x0TjjjcOuX
dom/media/test/test_load_same_resource.html
--- a/dom/media/test/test_load_same_resource.html
+++ b/dom/media/test/test_load_same_resource.html
@@ -77,14 +77,17 @@ function initTest(test, token) {
   e.src = test.name;
   e._expectedDuration = test.duration;
   ok(true, `Trying to load ${test.name}, duration=${test.duration}`);
   e.addEventListener("loadeddata", tryClone, {once: true});
   e.token = token;
   manager.started(token);
 }
 
-manager.runTests(gCloneTests, initTest);
+SimpleTest.waitForExplicitFinish();
+SpecialPowers.pushPrefEnv(
+  {"set": [["logging.MediaDecoder", "Debug"]]},
+  manager.runTests.bind(manager, gCloneTests, initTest));
 
 </script>
 </pre>
 </body>
 </html>