diff --git a/test/webbrowser.js b/test/webbrowser.js index 68bb71e72..f7354f1a1 100644 --- a/test/webbrowser.js +++ b/test/webbrowser.js @@ -149,7 +149,7 @@ WebBrowser.create = function (desc) { if (/firefox/i.test(name)) { return new FirefoxBrowser(desc.name, desc.path); } - if (/(chrome|chromium)/i.test(name)) { + if (/(chrome|chromium|opera)/i.test(name)) { return new ChromiumBrowser(desc.name, desc.path); } return new WebBrowser(desc.name, desc.path); diff --git a/test/webserver.js b/test/webserver.js index 5ffeaba78..ac1e5c6b9 100644 --- a/test/webserver.js +++ b/test/webserver.js @@ -161,7 +161,6 @@ WebServer.prototype = { res.setHeader('Content-Type', 'text/html'); res.writeHead(200); - var content = ''; if (queryPart === 'frame') { res.end('' + '