Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chromium_process.js

Issue 29720661: Issue 6391 - Allow running the browser unit tests with Firefox (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore/
Patch Set: Created March 12, 2018, 8:23 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | firefox_process.js » ('j') | firefox_process.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromium_process.js
===================================================================
--- a/chromium_process.js
+++ b/chromium_process.js
@@ -251,16 +251,18 @@
function runScript(script, scriptName, scriptArgs)
{
return connectRemoteInterface().then(async client =>
{
try
{
let {Runtime, Log, Console} = client;
+ console.log("\nTest in Chromium\n");
+
await Log.enable();
Log.entryAdded(({entry}) =>
{
reportMessage(entry.text, entry.level);
});
await Console.enable();
Console.messageAdded(({message}) =>
« no previous file with comments | « no previous file | firefox_process.js » ('j') | firefox_process.js » ('J')

Powered by Google App Engine
This is Rietveld