﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10563	CKeditor 4.1.2: Access denied error in IE7	Cédric Delécluse		"Hello,

In my site I have this code in the page's header:
{{{
<script type=""text/javascript"">
   document.domain = mysite.com
</script>
}}}

I have a ""Access denied"" error with IE7 even if I add this line :
{{{
CKEDITOR.tools.fixDomain(true);
}}}

before :    
{{{
CKEDITOR.replace(
        'detail',
        {
            width: '430px',
            height:'200px',	
        }
    );
}}}

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;
   break;
} catch ( e ) {
...
}}}

And now it's ok for me, I don't have ""Access denied""."	Bug	closed	Normal		General	4.1.2	wontfix	IE7	
