Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#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]

debug: window.top.DEBUG
{

/ckeditor/plugins/magicline/plugin.js (línea 33)

In Opera, Safari and Chrome work fine.

Regard.

Change History (9)

comment:1 Changed 7 years ago by Angel Cervera Claudio

System: Ubuntu 12.10 x64 Desktop / Firefox 17.0

comment:2 Changed 7 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.0

Could you provide us more details about how you load CKEditor? From other domain maybe?

comment:3 Changed 7 years ago by Angel Cervera Claudio

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 7 years ago by Angel Cervera Claudio

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

Last edited 7 years ago by Angel Cervera Claudio (previous) (diff)

comment:5 Changed 7 years ago by Piotrek Koszuliński

Thanks for the details, we'll investigate that.

comment:6 Changed 7 years ago by Olek Nowodziński

Owner: set to Olek Nowodziński
Status: newassigned

comment:7 Changed 7 years ago by Olek Nowodziński

Resolution: fixed
Status: assignedclosed

Masterized with git:9d12fc4

comment:8 Changed 7 years ago by Olek Nowodziński

Moved further discussion to #9705.

comment:9 Changed 7 years ago by Olek Nowodziński

Closed discussion in #9705 by marking the issue as invalid.

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