LivePage
LivePage copied to clipboard
Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules at livePage.scanCSS().
Just started running into this with Chrome 64. The stylesheet in question is this one: https://rawgit.com/RhoInc/Webcharts/master/css/webcharts.css. It's being pulled into a simple index.html file and loaded on a dev server. Any ideas what's going on?
No help, but I am having the same issue. It just started.
@samussiah @ashleysummers Thank you for bringing this to my attention. I last tested LivePage on Chrome 63 & it looks like Chrome 64 made a breaking change that made reading CSS rules on external stylesheets throw an error.
I issued a quick patch on the 2nd of Feburary (Version 2.6.7) so LivePage should handle this error more gracefully.
Could you try the latest version of LivePage & feedback to me? :) 👍
Updated to 2.6.7 and it is working! :100:
Likewise, much obliged!
https://chromium.googlesource.com/chromium/src/+/56db65a6d5d214d238ca16a90fea118571d5c8e6 - This might have been the underlying change which borked LivePage.
Going forward I'll discover @import
's via AJAX & Regex (I think).