Opened 8 years ago

Closed 8 years ago

#1645 closed Bug (fixed)

Loading the samples from the filesystem doesn't work in Firefox3

Reported by: alfonsoml Owned by: martinkou
Priority: High Milestone: FCKeditor 2.6.3
Component: General Version: SVN (FCKeditor) - Retired
Keywords: Confirmed FireFox Review+ Cc:

Description

There are several errors in the console trying to load the editor from a file: uri in Firefox3 beta1

(roughly translated)

Error: uncaught exception: Permission denied to set the property Window.FCK_STATUS_NOTLOADED

Error: uncaught exception: Permission to read the property HTMLDocument.getElementById denied

...

Attachments (4)

TC_1645.png (20.0 KB) - added by w.olchawa 8 years ago.
1645_pre.patch (1.8 KB) - added by martinkou 8 years ago.
1645.patch (2.3 KB) - added by martinkou 8 years ago.
1645_2.patch (2.0 KB) - added by fredck 8 years ago.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 8 years ago by alfonsoml

I guess that this is due to https://bugzilla.mozilla.org/show_bug.cgi?id=230606 Probably it means that it will no longer be possible to test FCKeditor in Firefox without using a server.

comment:2 Changed 8 years ago by w.olchawa

  • Keywords Confirmed FF added

Also confirmed using FF beta 3

I've attached a screenshot with all the console errors. As it is an Polish bowser just one info wiersz = line.

Changed 8 years ago by w.olchawa

comment:3 Changed 8 years ago by w.olchawa

As it is an Polish bowser just one info wiersz = line.

Sorry what I meant was: as I use the polish version of FF3b3 one translation will be needed when viewing the attachment (wiersz = line).

comment:4 Changed 8 years ago by alfonsoml

  • Milestone set to FCKeditor 2.6.2

This bug should be fixed now in 2.6.2 as Firefox3 has been released and people are starting to report strange problems that are surely this issue. http://www.fckeditor.net/forums/viewtopic.php?f=6&t=10109

I propose to detect the error and then give a message pointing to a page in the docs (or even open it directly), where the problem is explained and the about:config entry to allow the pages to work is explained.

comment:5 Changed 8 years ago by martinkou

  • Owner set to martinkou
  • Status changed from new to assigned

comment:6 Changed 8 years ago by martinkou

  • Priority changed from Normal to High

comment:7 Changed 8 years ago by martinkou

It seems there's no way to work around this in JavaScript. But the problem can be fixed by setting security.fileuri.strict_origin_policy to false in about:config.

comment:8 Changed 8 years ago by martinkou

I don't have the permissions to write to docs.fckeditor.net, but I've written some code to detect the situation and tell the user to disable the Firefox option.

Changed 8 years ago by martinkou

Changed 8 years ago by martinkou

comment:9 Changed 8 years ago by martinkou

  • Keywords Review? added

Changed 8 years ago by fredck

comment:10 Changed 8 years ago by fredck

  • Keywords Review+ added; Review? removed

I've added a new patch for this with a simpler structure for the message. I've also removed the global "d" variable that was been created with the previous patch.

I'm Reviewing+ it, but you should also review it before committing.

comment:11 Changed 8 years ago by martinkou

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [2170].

Click here for more info about our SVN system.

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