#630819 Iceweasel fails to open a file URI when the link has been obtained from a remote server.

#630819#5
Date:
2011-06-17 17:26:30 UTC
From:
To:
*** Please type your report below this line ***
After /etc/iceweasel/pref/iceweasel.js is adjusted according to instructions
in http://kb.mozillazine.org/Security_Policies, a file URI still fails to open
when the link has been obtained from a remote Web server.  Of course, there is
no problem using a local link to open a local file.  Add-on
https://addons.mozilla.org/firefox/addon/281 confers the ability to open the file
URI.  Iceweasel appears to be ignoring the adjustments in /etc/...iceweasel.js.

At least one other bug involves /etc/iceweasel/pref/iceweasel.js; #425961.

Regards,               ... Peter E.

#630819#10
Date:
2011-06-18 00:20:08 UTC
From:
To:
If you wrote "user_pref" in iceweasel.js, that's not likely to work.
user_pref is the keyword for pref.js in user profiles. You need to use
"pref" instead.

Mike

#630819#15
Date:
2011-06-23 16:45:17 UTC
From:
To:
From: Mike Hommey <mh@glandium.org>
Date: Sat, 18 Jun 2011 02:20:08 +0200

Thanks Mike.  Subsequent to filing this bug report I found that LocakLink 0.5
allowed the file URIs to work.  Since then I've updated this Squeeze system,
although Iceweasel remains at 3.5.16-7.  Today I find that the file URIs
no longer work in spite of LocalLink remaining present.  Changing "user_pref"
to "pref" in iceweasel.js yields no difference.

The system certainly has a few idiosyncrasies.  For example, Monitor Settings
are not retained across logins.

For now I'm stumped.  If you have a suggestion, I'll try to follow it.

Thanks,                 ... Peter E.

#630819#20
Date:
2011-07-13 01:02:00 UTC
From:
To:
Correction to earlier message, Message #15.

From: peasthope@shaw.ca
Date: Thu, 23 Jun 2011 08:45:17 -0800
Changing "user_pref" to "pref" in iceweasel.js does not allow the
file URIs to open.

Regards,              ... Peter E.