18Dec 2009
Editor weirdnesses
10:25 - By BlueGriffon - Progress - 2 comments
I think I just found a weirdness in the editingSession and the docshell. If I try to edit a document having a chrome://* URL, scripts and plugins are not correctly disabled. I needed that to store "blank" transitional and strict html and xhtml documents into my jars. Even if I call disableJSAndPlugins() on the editingSession, scripts and plugins are not disabled or disabled only until major changes of the edited document. Not sure it's a bug though, there could be a good reason for this behavior. Anyway, workarounds are easy to implement.

2 comments
The system principal overrides the global javascript and plugin preferences too, so I assume that the various checks aren't being done in the order most useful to you.
i doubt its a glitch