Bug #23498
closed
RTE won't load in Chrome7
Added by J. Peter M. Schuler about 14 years ago.
Updated about 6 years ago.
Description
After Updating Chrome from 6.x (stable) to 7.0.503.0 dev I noticed no RTEs are working anymore.
Chrome 7 hangs in a loop infinitely posting:
[HTMLArea.Iframe::getStyleSheets]: Stylesheets not yet loaded (TypeError: Cannot read property 'cssRules' of undefined). Retrying...
[HTMLArea.Iframe::getStyleSheets]: Stylesheets not yet loaded (TypeError: Cannot read property 'cssRules' of undefined). Retrying...
I understand that it is not needed to support every dev-build - I just wonder if this infinite loop shouldn't be possible anyways.
Attached: htmlarea debug for working Chrome6 and not working Chrome 7.
(issue imported from #M15633)
Files
Forgot: TYPO3 4.4.2 with sysext htmlarea 2.0.3
Yes. I was able to work around this one, but there are a few more bugs in this version of Chrome...
Sounds great. I know it's mainly a Chrome bug - just thought some exception handling should come in handy.
Perhaps, but it is difficult to decide after how many trials we should give up retrying. The assumption is that the stylesheets should eventually become accessible.
I get the point. The only way I could imagine would be using an event instead of a listener, but I don't think it is that easy, especially with JS.
Thanks for your effort. I'll post a note if Chrome bug gets closed, but I think there is nothing else to do here.
Patches attached to issues #0015858, #0015863 and #0015899 fix this issue. Now committed to SVN trunk.
Above mentioned patches + follow-up patch to #0015858 fixes now committed to branches TYPO3_4-4 and TYPO3_4-3.
These make the RTE from trunk and from branches TYPO3_4-4 and TYPO3_4-3 load correctly in Goole Chrome 7.0.544.0 dev.
- Status changed from Resolved to Closed
Also available in: Atom
PDF