Bug 1390176 - Fix the jsterm stub in test_render_perf;r=nchevobbe draft
authorBrian Grinstead <bgrinstead@mozilla.com>
Wed, 16 Aug 2017 10:04:45 -0700
changeset 647602 2a8eb4492097f420ca6ab5a169384523cc3628b5
parent 647460 6ebc251bd288c268b020815025b05854ccde5c08
child 647603 0bf2db891492df2e26188e9bb008ecb8223b2080
push id74473
push userbgrinstead@mozilla.com
push dateWed, 16 Aug 2017 17:06:15 +0000
reviewersnchevobbe
bugs1390176
milestone57.0a1
Bug 1390176 - Fix the jsterm stub in test_render_perf;r=nchevobbe MozReview-Commit-ID: 8qYIthlQtXa
devtools/client/webconsole/new-console-output/test/chrome/test_render_perf.html
--- a/devtools/client/webconsole/new-console-output/test/chrome/test_render_perf.html
+++ b/devtools/client/webconsole/new-console-output/test/chrome/test_render_perf.html
@@ -167,17 +167,17 @@ async function testStreamLogging(wrapper
 
 window.onload = async function () {
   // This test does costly work multiple times to have better performance data.
   // It doesn't run in automation
   SimpleTest.requestLongerTimeout(3);
 
   const wrapper = new NewConsoleOutputWrapper(
     document.getElementById("output"),
-    {hud: EventEmitter.decorate({proxy: {}})},
+    {hud: EventEmitter.decorate({proxy: {}}), focus: () => {}},
     {},
     null,
     document,
   );
   wrapper.init();
 
   // From https://github.com/devtools-html/perf.html/blob/b73eb73df04c7df51464fa50eeadef3dc7f5d4e2/docs/gecko-profile-format.md#L21
   const settings = {