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 <[email protected] 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 > [email protected] > _______________________________________________ > dev-platform mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

