#9701 closed Bug (fixed)
Firefox 17 - CKEditor 4 - Error: Permission denied to access property 'DEBUG'
Reported by: | Angel Cervera Claudio | Owned by: | Olek Nowodziński |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.0 |
Component: | General | Version: | 4.0 |
Keywords: | Cc: |
Description
After upgrade Firefox to 17, CKEditor throws this error:
Error: Permission denied to access property 'DEBUG' [Parar en este error]
{ |
/ckeditor/plugins/magicline/plugin.js (línea 33)
In Opera, Safari and Chrome work fine.
Regard.
Change History (9)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Milestone: | → CKEditor 4.0 |
---|
Could you provide us more details about how you load CKEditor? From other domain maybe?
comment:3 Changed 12 years ago by
No, I open from same domain. I open a page in a iframe and this page use ckeditor. This is the fragment how activate ckeditor:
The "instanceCreated" event is fired for every editor instance created. CKEDITOR.on( 'instanceCreated', function( event ) {
var editor = event.editor,
element = editor.element;
if ( element.is( 'h1', 'h2', 'h3' ) /* element.getAttribute( 'id' ) == 'taglist' */ ) { editor.on( 'configLoaded', function() {
Remove unnecessary plugins to make the editor simpler. editor.config.removePlugins = 'colorbutton,find,flash,font,' +
'forms,iframe,image,newpage,removeformat,scayt,' + 'smiley,specialchar,stylescombo,templates,wsc';
Rearrange the layout of the toolbar. editor.config.toolbarGroups = [
{ name: 'editing', groups: [ 'basicstyles', 'links' ] }, { name: 'undo' }, { name: 'clipboard', groups: [ 'selection', 'clipboard' ] }, { name: 'about' }
];
});
}
});
comment:4 Changed 12 years ago by
In this new version, firefox implements sandbox attribute. It's possible that the error it is related with this matter.
I use iframe with sandbox="allow-scripts"
Thanks
comment:6 Changed 12 years ago by
Owner: | set to Olek Nowodziński |
---|---|
Status: | new → assigned |
comment:7 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Masterized with git:9d12fc4
System: Ubuntu 12.10 x64 Desktop / Firefox 17.0