Add font exception to security.fileuri.unique_origin

Suggestions and feature requests for the Pale Moon browser

Moderator: satrow

User avatar
jackst
New to the forum
New to the forum
Posts: 2
Joined: 2019-08-13, 17:48

Add font exception to security.fileuri.unique_origin

Unread post by jackst » 2019-08-13, 17:58

Hi,

I've stumble upon an issue with the last release of Pale Moon (28.6.1) that might be seen as a bug: local html pages cannot load their fonts from disk anymore. In my case, I have a local HTML page (no server) that use a downloaded version of FontAwesome in a subdir, and fonts are blocked by CORS.

I haven't find a way to make this work without completely disabIing the file URI origin security.

Firefox has the same problem since version 68 and they have decided to make exceptions for font files:
https://bugzilla.mozilla.org/show_bug.cgi?id=1565942

Would it be possible to have the same kind of exceptions in Pale Moon?


By the way, I've been using PM for years now, thank you for your great work.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24242
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Add font exception to security.fileuri.unique_origin

Unread post by Moonchild » 2019-08-13, 21:07

Sure, there's no harm in making woff/woff2 files exempt.

Tracking in Issue #1211 (UXP)

Note: in the meantime you can set the unique_origin pref to false for your particular use case.
City of Heroes public server: https://www.moonshard.org/ -- Vote for it on cohservers.com

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

User avatar
jackst
New to the forum
New to the forum
Posts: 2
Joined: 2019-08-13, 17:48

Re: Add font exception to security.fileuri.unique_origin

Unread post by jackst » 2019-08-13, 22:33

Thank you, that would be awesome!

And yes, I've seen the security.fileuri.unique_origin parameter from the release notes. My page is working fine by setting it to "false".

Post Reply