Skip to content

Commit

Permalink
Suppress JS error messages from inside FF extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgraham committed Jan 29, 2019
1 parent 31d1bd9 commit 1f76cba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions themes/default/javascript/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ function initialise_error_mechanism()
(msg.indexOf('Location.toString')!=-1) || // Buggy extensions may generate
(msg.indexOf('Error loading script')!=-1) || // User's connection error
(msg.indexOf('NS_ERROR_FAILURE')!=-1) || // Usually an internal error
(msg.indexOf('moz-extension')!=-1) || // An error inside an extension

// Google Chrome false positives
(msg.indexOf('can only be used in extension processes')!=-1) || // Can come up with MeasureIt
Expand Down

0 comments on commit 1f76cba

Please sign in to comment.