OverbiteFF (a Gopher add-on for Firefox) calls itself for certain internal resources. Since it converts gopher menus to HTML, it just does things like

<script type="text/javascript" src="gopher:///internal.js";></script>

to access its built-in content resources. This worked fine until Firefox 44, which throws a Security Error, so I added URI_IS_UI_RESOURCE. That fixed the internal load, but now clicking on gopher links from HTTP fails (with a Security Error also).

Currently, it sets ALLOWS_PROXY | ALLOWS_PROXY_HTTP | URI_IS_LOADABLE_BY_ANYONE | URI_IS_UI_RESOURCE. It seems like by setting both of the latter, I can't combine the two. What's the best combination of flags to get this to work as it did in previous versions? It used to work just fine with just ALLOWS_PROXY | ALLOWS_PROXY_HTTP | URL_IS_LOADABLE_BY_ANYONE.

Or, can I use resource:// here?

Cameron Kaiser
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to