Opened 6 years ago

Last modified 4 years ago

#11248 confirmed Bug

[FF] Permission denied is thrown when preview is used for page with document.domain

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.4
Keywords: Firefox Oracle Cc:

Description

Problem can be reproduced in Firefox only from CKEditor 3.6.4 rev. [7527] in both CKE 3.x and 4.x

  1. Create subdomain.example.com and example.com domains
  2. Put ckeditor with attached sample under subdomain.example.com
  3. This sample has document.domain='example.com’ set
  4. Load attached sample from subdomain (http://subdoamin.example.com/ckeditor/samples/replacebycode2.html)
  5. Press preview

Result: Permission denied error is thrown.

Error: Permission denied to access property '_cke_htmlToLoad'
Code: doc.write( window.opener._cke_htmlToLoad );
URI: http://www.subdomain.example.com/ckeditor/plugins/preview/preview.html

Attachments (1)

replacebycode2.html (6.5 KB) - added by Jakub Ś 6 years ago.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by Jakub Ś

Attachment: replacebycode2.html added

comment:1 Changed 6 years ago by Jakub Ś

Status: newconfirmed

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

Summary: [FF]: Permission denied is thrown when preview is used for page with document.domain[FF] Permission denied is thrown when preview is used for page with document.domain

comment:3 Changed 5 years ago by Jakub Ś

Keywords: Oracle added

comment:4 Changed 4 years ago by Vikas Kumar

I am facing the same problem. Do we have any solution for this?

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