Opened 8 years ago

Closed 7 years ago

#10563 closed Bug (wontfix)

CKeditor 4.1.2: Access denied error in IE7

Reported by: Cédric Delécluse Owned by:
Priority: Normal Milestone:
Component: General Version: 4.1.2
Keywords: IE7 Cc:



In my site I have this code in the page's header:

<script type="text/javascript">
   document.domain =

I have a "Access denied" error with IE7 even if I add this line :;

before :

            width: '430px',

To correct the problem I forced the domain in all cases. In core/tools.js, function fixDomain() I have added:

try {
   // Try to access the parent document. It throws
   // "access denied" if restricted by the "Same Origin" policy.
   domain = window.parent.document.domain;
   // Here I force the domain
   document.domain = domain;
} catch ( e ) {

And now it's ok for me, I don't have "Access denied".

Change History (3)

comment:1 Changed 8 years ago by Jakub Ś


Sorry for late reply. I didn't check this problem and I'm getting it in quite weird case (at least for me weird).

Before i start making mess by adding comments - @clusserman could you describe exactly what issue you are having?. I would like to know how what domain (perhaps few domains) have you set for your application. What do you set in document.domain property and what have you got in browser URL bar?

Version 0, edited 8 years ago by Jakub Ś (next)

comment:2 Changed 8 years ago by Jakub Ś

Keywords: IE7 added
Status: newconfirmed

comment:3 Changed 7 years ago by Jakub Ś

Resolution: wontfix
Status: confirmedclosed

We have dropped support for IE7 so I'm closing this ticket.

Note: See TracTickets for help on using tickets.
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy