To reproduce, create a component with the following template and try to render it with EmulatedShadowDomStrategy.
<style>
@import url("radio.css");
</style>
This will land something in CssShim in an infinite loop that crashes the Chrome tab or Firefox instance.
If you add a comment immediately before the @import, the crash does not occur, but the <style> elements added to the <head> are empty.
<style>
/***/
@import url("radio.css");
</style>
To reproduce, create a component with the following template and try to render it with EmulatedShadowDomStrategy.
This will land something in CssShim in an infinite loop that crashes the Chrome tab or Firefox instance.
If you add a comment immediately before the
@import, the crash does not occur, but the<style>elements added to the<head>are empty.