Loading devtools/client/webconsole/test/browser_webconsole_bug_585956_console_trace.js +54 −58 Original line number Diff line number Diff line Loading @@ -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, Loading Loading @@ -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"); } } }); Loading
devtools/client/webconsole/test/browser_webconsole_bug_585956_console_trace.js +54 −58 Original line number Diff line number Diff line Loading @@ -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, Loading Loading @@ -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"); } } });