You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug(web): Uncaught (in promise) DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules on help.keyman.com
#11467
Closed
mcdurdin opened this issue
May 16, 2024
· 3 comments
· Fixed by #11472
Uncaught (in promise) DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
at ge.<anonymous> (https://s.keyman.com/kmw/engine/17.0.325/keymanweb.js:7:25426)
at Generator.next (<anonymous>)
at https://s.keyman.com/kmw/engine/17.0.325/keymanweb.js:1:1395
at new Promise (<anonymous>)
at Z (https://s.keyman.com/kmw/engine/17.0.325/keymanweb.js:1:1215)
at ge.allLoadedPromise (https://s.keyman.com/kmw/engine/17.0.325/keymanweb.js:7:25332)
at VisualKeyboard.<anonymous> (https://s.keyman.com/kmw/engine/17.0.325/keymanweb.js:23:1158)
at Generator.next (<anonymous>)
at https://s.keyman.com/kmw/engine/17.0.325/keymanweb.js:1:1395
at new Promise (<anonymous>)
at Z (https://s.keyman.com/kmw/engine/17.0.325/keymanweb.js:1:1215)
at MutationObserver.detectAndHandleInsertion (https://s.keyman.com/kmw/engine/17.0.325/keymanweb.js:23:1080)
Ah, because it's dealing with a cross-origin stylesheet. My normal test pattern against that tests against local stylesheets first, which wouldn't have caught this. Sadly, that makes detecting stylesheet-load more tricky, but I'll figure something out.
e.g. https://help.keyman.com/keyboard/basic_kbdhe220/1.1/basic_kbdhe220
Manifests visually with two issues:
The text was updated successfully, but these errors were encountered: