v130 · miscellaneous

Support non-special scheme URLs

Support non-special scheme URLs correctly.

concepts

  1. URL constructor probe

    Run the URL constructor against several non-special schemes and read each component property. Confirms spec-aligned behaviour.

  2. Custom protocol router

    The real motivation: routing. Apps using git://, ipfs://, web+app://, moz-extension://, etc. can now dispatch by host and pathname. Side-by-side pre-130 (opaque path) vs Chrome 130 (host+pathname populated) for any URL you paste.

  3. Parser diff (field-by-field)

    Six representative URLs (web+coffee://, git+ssh://, geo:, magnet:, custom-jsapi, malformed). Side-by-side parse using a simulated pre-Chrome 130 parser vs the real Chrome 130 URL; diff cells highlighted, round-trip serialization tested. Edit the field to throw your own URL at it.

  4. Scheme explorer

    Choose from git://, ipfs://, web+foo://, geo:, magnet:, git+ssh:// or paste any URL. Every URL component property is shown in a table with the Chrome 130 value alongside the simulated pre-130 opaque value, and changed fields are highlighted.

why it shipped

Make Chromium's non-special URL behavior Web compatible.

references