Commit b0557a25 authored by Brian Grinstead's avatar Brian Grinstead
Browse files

Bug 1256826 - Fix eslint issues in browser_webconsole_bug_585956_console_trace.js;r=pbro

MozReview-Commit-ID: 4HrOKosYk5w
parent 40ea68f7
Loading
Loading
Loading
Loading
+54 −58
Original line number Diff line number Diff line
@@ -8,14 +8,11 @@
const TEST_URI = "http://example.com/browser/devtools/client/" +
                 "webconsole/test/test-bug-585956-console-trace.html";

function test() {
  Task.spawn(runner).then(finishTest);

  function* runner() {
add_task(function* () {
  let {tab} = yield loadTab("data:text/html;charset=utf8,<p>hello");
  let hud = yield openConsole(tab);

    content.location = TEST_URI;
  BrowserTestUtils.loadURI(gBrowser.selectedBrowser, TEST_URI);

  let [result] = yield waitForMessages({
    webconsole: hud,
@@ -70,5 +67,4 @@ function test() {
  is(obj._stacktrace.toSource(), stacktrace.toSource(),
     "stacktrace is correct");
  isnot(node.textContent.indexOf("bug-585956"), -1, "found file name");
  }
}
});