it is handled inside i think, does this have potential misfunctionality or side effect, as far as i see i dont but please provide and it fulls console,
thank you.
Handling code of yours which is inside : webpack:///./node_modules/html-to-image/es/embedWebFonts.js
return Promise.all(promises).then(() => {
// Second loop parses rules
styleSheets.forEach((sheet) => {
if ('cssRules' in sheet) {
try {
toArray(sheet.cssRules).forEach((item) => {
ret.push(item);
});
}
catch (e) {
console.log(`Error while reading CSS rules from ${sheet.href}`, e.toString());
}
}
});
return ret;
});
Error at console;
Error while reading CSS rules from https://www.gstatic.com/charts/51/css/util/util.css SecurityError: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
embedWebFonts.js:102 Error loading remote stylesheet SecurityError: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
embedWebFonts.js:119 Error while reading CSS rules from https://cdn.jsdelivr.net/npm/jspanel4@4.11.1/dist/jspanel.css SecurityError: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
embedWebFonts.js:119 Error while reading CSS rules from https://www.gstatic.com/charts/51/css/core/tooltip.css SecurityError:
it is handled inside i think, does this have potential misfunctionality or side effect, as far as i see i dont but please provide and it fulls console,
thank you.
Handling code of yours which is inside : webpack:///./node_modules/html-to-image/es/embedWebFonts.js
Error at console;