On Mon, Nov 23, 2015 at 10:26:39PM -0800, Kris Maglione wrote:
> > Most code in Firefox itself fortunately uses resource:/// instead of
> > resource://app/ (they have the same meaning, or at least were supposed
> > to, since the bug broke this promise), so it was fortunately not a
> > direct problem for Firefox itself.
> 
> I've never seen resource://app/ used in an add-on. Just about all of the
> uses MXR can find[1] are either in Thunderbird add-ons, or are appalling
> hacks like this in themes:
> 
>    list-style-image: 
> url("jar:resource://app/omni.jar!/chrome/toolkit/skin/classic/global/tree/twisty-clsd.png");

... which seems to be a *very* old thing because:
- resource://app might have pointed to the plain Firefox directory where
  you could find the omnijar a long time ago (I don't remember if that
  ever was actually true), but it points *inside* the omnijar now.
- omni.jar was renamed omni.ja a loooooong time ago.

Arguably, the interesting test, though, would be addons sources from
before FF38, since presumably addons might have changed to work around
the resource://app brokenness.

> [1] https://mxr.mozilla.org/addons/search?string=resource%3A//app/

Note this url is behind a "AMO Admins - LDAP Login" authentication
(which I probably don't have)

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

Reply via email to