I'm afraid to ask why you want to treat these differently. Do you have a
channel or a principal? By itself nsIURI only describes the url itself, not
its effective origin nor its redirect history.

On Fri, Dec 7, 2018, 8:08 AM Henri Sivonen <hsivo...@mozilla.com wrote:

> It appears that my the time resource: URLs reach the HTML parser,
> their scheme is reported as "file" (at least in debug builds).
>
> Is there a way to tell from an nsIURI that it was expanded from a
> resource: URL?
>
> --
> Henri Sivonen
> hsivo...@mozilla.com
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to