Hi,
We are developing
QuicTransport, and planning to add
a new URL scheme. We are tentatively using "quic-transport", but that may change in the future.
Chromium URL (GURL and KURL) does not parse URLs with an unknown scheme. On the other hand, when we add a scheme (via SchemeRegistry::standard_schemes for example), that will be exposed to the Web - A web developer can detect that change with executing "new URL('quic-transport://foo.bar').host".
We think the current Chromium behavior is not spec conformant. For example. jsdom implementation
parses a quic-transport: URL correctly, so we are not sure if we should worry about this potential compatibility issue.
We would like to add "quic-transport" as a standard scheme. What do API owners think about this?
Alternatives considered:
- Add "quic-transport" as a standard scheme only when QuicTransport is enabled.
This works now, but this won't work when we start an origin trial.
- Use "https" URLs as internal representation.
This is too hacky I think.
Thanks,