Ticket #1645 (closed Bug: fixed)

Opened 19 months ago

Last modified 12 months ago

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)
Keywords: Confirmed FF 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

TC_1645.png (20.0 KB) - added by w.olchawa 17 months ago.
1645_pre.patch (1.8 KB) - added by martinkou 13 months ago.
1645.patch (2.3 KB) - added by martinkou 12 months ago.
1645_2.patch (2.0 KB) - added by fredck 12 months ago.

Change History

Changed 19 months 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.

Changed 17 months 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 17 months ago by w.olchawa

Changed 17 months 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).

Changed 13 months 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.

Changed 13 months ago by martinkou

  • owner set to martinkou
  • status changed from new to assigned

Changed 13 months ago by martinkou

  • priority changed from Normal to High

Changed 13 months 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.

Changed 13 months 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 13 months ago by martinkou

Changed 12 months ago by martinkou

Changed 12 months ago by martinkou

  • keywords Review? added

Changed 12 months ago by fredck

Changed 12 months 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.

Changed 12 months ago by martinkou

  • status changed from assigned to closed
  • resolution set to fixed

Fixed with [2170].

Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.