[BUGFIX] RTE: Insert Tag dialogue may raise security error in Firefox 76/33376/2
authorStanislas Rolland <typo3@sjbr.ca>
Fri, 17 Oct 2014 23:05:32 +0000 (19:05 -0400)
committerStanislas Rolland <typo3@sjbr.ca>
Fri, 17 Oct 2014 23:23:58 +0000 (01:23 +0200)
commitfae0f82ff5039dd35200bac8949c74121a429249
treeb77a2cf426c5ceb417b6a5a09d5b4795f100b676
parentd9b80a621234bd4d6f375fb5c3fe4213a13b3b6d
[BUGFIX] RTE: Insert Tag dialogue may raise security error in Firefox

Problem: If a style sheet from another domain is imported by the style
sheet configured for the RTE, a security error is raised by Firefox
when opening the Insert tag dialogue window.
Solution: Catch the error and report it on the console.

Releases: master, 6.2
Resolves: #62316
Change-Id: I093416abbc784f7548cda3b6c9be1d4b7d484040
Reviewed-on: http://review.typo3.org/33375
Reviewed-by: Stanislas Rolland <typo3@sjbr.ca>
Tested-by: Stanislas Rolland <typo3@sjbr.ca>
(cherry picked from commit f398739141d2fba74a34a9d3a7a810d1d5c1fb53)
Reviewed-on: http://review.typo3.org/33376
typo3/sysext/rtehtmlarea/htmlarea/plugins/QuickTag/quick-tag.js