Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
Bug 742766 - Application errors in Error Console cause tests to fail.…
Browse files Browse the repository at this point in the history
… r=ctalbert
  • Loading branch information
whimboo committed Jul 18, 2012
1 parent 62b07ed commit ee49208
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mozmill/mozmill/extension/resource/driver/mozmill.js
Expand Up @@ -298,8 +298,9 @@ function ConsoleListener() {
ConsoleListener.prototype = {
observe: function (aMessage) {
var msg = aMessage.message;
var re = /^\[.*Error:.*(chrome|resource):\/\/.*/i;
var re = /^\[.*Error:.*(chrome|resource):\/\/(jsbridge|mozmill).*/i;
if (msg.match(re)) {
dump(msg + "\n");
broker.fail(aMessage);
}
},
Expand Down

0 comments on commit ee49208

Please sign in to comment.