Bug #23498
closedRTE won't load in Chrome7
0%
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
Updated by J. Peter M. Schuler about 14 years ago
Forgot: TYPO3 4.4.2 with sysext htmlarea 2.0.3
Updated by Administrator Admin about 14 years ago
Confirmed, and tracked down to this bug report:
http://code.google.com/p/chromium/issues/detail?id=49001
It's a bug in chromium.
Updated by Stanislas Rolland about 14 years ago
Yes. I was able to work around this one, but there are a few more bugs in this version of Chrome...
Updated by J. Peter M. Schuler about 14 years ago
Sounds great. I know it's mainly a Chrome bug - just thought some exception handling should come in handy.
Updated by Stanislas Rolland about 14 years ago
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.
Updated by J. Peter M. Schuler about 14 years ago
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.
Updated by Stanislas Rolland about 14 years ago
Patches attached to issues #0015858, #0015863 and #0015899 fix this issue. Now committed to SVN trunk.
Updated by Stanislas Rolland about 14 years ago
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.