Skip to content

Commit

Permalink
Add error to chrome extension when url is using the chrome protocol (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet authored and paulirish committed May 23, 2017
1 parent 2d48f67 commit 9f5a8aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lighthouse-extension/app/src/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ const NON_BUG_ERROR_MESSAGES = {
// @see https://chromium.googlesource.com/chromium/src/+/5d1f214db0f7996f3c17cd87093d439ce4c7f8f1/chrome/common/extensions/chrome_extensions_client.cc#232
'The extensions gallery cannot be scripted': 'The Lighthouse extension cannot audit the ' +
'Chrome Web Store. If necessary, use the Lighthouse CLI to do so.',
'Cannot access a chrome': 'The Lighthouse extension cannot audit ' +
'Chrome-specific urls. If necessary, use the Lighthouse CLI to do so.',
// The user tries to review an error page or has network issues
'Unable to load the page': 'Unable to load the page. Please verify the url you ' +
'are trying to review.'
Expand Down

0 comments on commit 9f5a8aa

Please sign in to comment.