On Tue, Jul 02, 2013 at 07:09:04AM -0400, Benjamin Smedberg wrote:
> On 7/2/2013 6:55 AM, Anne van Kesteren wrote:
> >On Tue, Jul 2, 2013 at 12:51 AM, Mike Hommey <m...@glandium.org> wrote:
> >>Note that some "custom" schemes may be relying on empty host names. In
> >>Gecko, we have about:foo as well as resource:///foo. In both cases, foo
> >>is the path part.
> >about URLs don't have a host name. resource URLs might I suppose. Do
> >resource URLs support relative URLs?
> Both resource: and chrome: have host names and need to support
> relative URIs. Neither of them is a candidate for standardization,
> though. We should just add them as special known schemes in our
> parser.

Note that host name is optional in resource: urls (for which no host name
is the same as host == app), but not chrome:. There is no host on about:
urls as well, as I mentioned, but about: urls never have a slash before
the path.

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

Reply via email to