Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension Error: Failed to construct 'URL': Invalid URL #1209

Closed
squaresurf opened this issue Dec 21, 2016 · 6 comments
Closed

Extension Error: Failed to construct 'URL': Invalid URL #1209

squaresurf opened this issue Dec 21, 2016 · 6 comments

Comments

@squaresurf
Copy link

Lighthouse Version: 1.3.0
Chrome Version: 55.0.2883.95
Error Message: Failed to construct 'URL': Invalid URL
Stack Trace:

   at artifacts.DateNowUse.usage.filter.err (chrome-extension://blipmdconlkpinefehnmjammfjpmpbjk/scripts/lighthouse-background.js:1046:39)
   at Array.filter (native)
   at Function.audit (chrome-extension://blipmdconlkpinefehnmjammfjpmpbjk/scripts/lighthouse-background.js:1045:48)
   at Promise.resolve.then._ (chrome-extension://blipmdconlkpinefehnmjammfjpmpbjk/scripts/lighthouse-background.js:11365:20)```
@wardpeet
Copy link
Collaborator

@squaresurf could you provide us with an url please.
do you have any chrome plugins installed? Do you have any options deselected on the extension?

// dupe of #1194

@squaresurf
Copy link
Author

The url is: https://foresight.io/

I have quite a few plugins installed. Is there an easy way to print out the enabled plugins?

All options are selected.

I just tested at this url with a new chrome user with lighthouse as the only plugin and it worked, although there does seem to be an error in the report: cannot read ts of undefined
Lighthouse report_ https___foresight.pdf

@ebidel
Copy link
Contributor

ebidel commented Dec 21, 2016

To get the list of installed extensions, you can go to chrome://extensions-frame/ and run this in the console:

document.querySelectorAll('.extension-details').forEach(ext => {
  console.log(ext.querySelector('.extension-title').textContent, '-',
                      ext.querySelector('.site-link').href)
});

@oliverturner
Copy link

oliverturner commented Dec 21, 2016

Just tried in Incognito mode, no extensions enabled bar Lighthouse itself.

screenshot 2016-12-21 18 13 02

Testing URL is a CloudFront proxy to an AWS statically-hosted site on S3

All options on the extension are enabled

@wardpeet
Copy link
Collaborator

Thanks for the feedback, error should be fixed in #1218

@squaresurf
Copy link
Author

Great work! Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants