Click here to download the Blitz Browser!

WPT

wpt / url / url-setters.any.html?include=file

Spec: URL ↗

Runs: Chrome 155.0.8039.0 (wpt@2b4dfe72c, 2026-09-03) | Firefox 157.0a1 (wpt@2b4dfe72c, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-56c61 (wpt@ed1909ed6, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total17/2215/2222/2222/2219/22NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
Loading data…PASSPASSPASSPASSPASS
URL: Setting <file://localhost/>.protocol = 'http' Can’t switch from file URL with no hostFAILPASSPASSPASSPASS
URL: Setting <file:///test>.protocol = 'https'PASSPASSPASSPASSPASS
URL: Setting <file:>.protocol = 'wss'PASSPASSPASSPASSPASS
URL: Setting <file://hi/path>.protocol = 's'PASSFAILPASSPASSPASS
URL: Setting <file:///home/you/index.html>.username = 'me' No host means no usernamePASSPASSPASSPASSPASS
URL: Setting <file://test/>.username = 'test'PASSFAILPASSPASSPASS
URL: Setting <file:///home/me/index.html>.password = 'secret' No host means no passwordPASSPASSPASSPASSPASS
URL: Setting <file://test/>.password = 'test'PASSFAILPASSPASSPASS
URL: Setting <file://y/>.host = 'x:123'FAILFAILPASSPASSPASS
URL: Setting <file://y/>.host = 'loc%41lhost'FAILPASSPASSPASSPASS
URL: Setting <file://hi/x>.host = ''PASSPASSPASSPASSPASS
URL: Setting <file://y/>.hostname = 'x:123'PASSFAILPASSPASSPASS
URL: Setting <file://y/>.hostname = 'loc%41lhost'FAILPASSPASSPASSPASS
URL: Setting <file://hi/x>.hostname = ''PASSPASSPASSPASSPASS
URL: Setting <file://test/>.port = '12'PASSFAILPASSPASSPASS
URL: Setting <file://localhost/>.port = '12'FAILPASSPASSPASSPASS
URL: Setting <file:///some/path>.pathname = '' Special URLs cannot have their paths erasedPASSPASSPASSPASSPASS
URL: Setting <file://monkey/>.pathname = '\\' File URLs and (back)slashesPASSFAILPASSPASSFAIL
URL: Setting <file:///unicorn>.pathname = '//\/' File URLs and (back)slashesPASSPASSPASSPASSFAIL
URL: Setting <file:///unicorn>.pathname = '//monkey/..//' File URLs and (back)slashesPASSPASSPASSPASSFAIL
URL: Setting <file:///var/log/system.log>.href = 'http://0300.168.0xF0'PASSPASSPASSPASSPASS