question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Chrome no longer supports HTML imports as of version 80

See original GitHub issue

It seems that having removed HTML imports in Chrome 80 breaks things involving fetching HTML files via <link href="%s.html" rel="import"> style imports. It appears that the files are still fetched, but they are no longer executed, leaving karma to show 0 tests being run in my setup. Using Chrome 79 and below works fine.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
vorillazcommented, Feb 10, 2020

For anyone stuck with this one, we have managed to run our specs using a Chromium binary.

  1. Download Chromium 79 or older for your platform from https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html
  2. Unzip the folder in a local directory e.g. /Users/theo/Downloads/chrome-mac/
  3. Set CHROME_BIN=/Users/theo/Downloads/chrome-mac/Chromium.app/Contents/MacOS/Chromium yarn test
4reactions
dark-pandacommented, Feb 6, 2020

Until a fix can be applied, you can add a custom launcher that adds the --enable-blink-features=HTMLImports flag to allow HTML imports again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cross Browser Compatibility of HTML Imports in Chrome 80
HTML Imports is Not Supported on Chrome 80. Checkout overall cross browser compatibility of HTML Imports on Chrome 80.
Read more >
HTML Imports - Chrome Platform Status
Feature: HTML Imports (Removed)​​ HTML Imports are deprecated at M70, and will be removed in M80, by February, 2020.
Read more >
Deprecations and removals in Chrome 80
Chrome 72 removed support for fetching document subresources over FTP and rendering of top level FTP resources. Currently navigating to FTP URLs ...
Read more >
Chrome Enterprise and Education release notes
Microsoft ends support for Windows 7 ESU, Windows 8, and Windows 8.1 extended support on January 10, 2023. Chrome 110, tentatively scheduled for ......
Read more >
Chrome 80, Content Indexing, ES Modules and More
Chrome has been removing capabilities from its FTP support since version 72. The reason for this is that usage of FTP in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found