As shown by Bug 1895233: https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 Parsing `<file:///c|> against <about:blank>` on Windows does not work: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= There are a few locations of interest that might be causing the issue: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416 https://searchfox.org/mozilla-central/source/netwerk/base/nsStandardURL.cpp#2896-2917
Bug 1901810 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
As shown by Bug 1895233 (try result without https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 How to reproduce: `netwerk/test/unit/test_standardurl.js`: ``` url = Services.io.newURI("file:///c|"); Assert.equal(url.spec, "file:///c:"); ``` Try result (Windows): ``` TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_standardurl.js | test_verticalBar - [test_verticalBar : 519] "file:///c:/" == "file:///c:" ``` Parsing `<file:///c|> against <about:blank>` on Windows does not work: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= There are a few locations of interest that might be causing the issue: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416 https://searchfox.org/mozilla-central/source/netwerk/base/nsStandardURL.cpp#2896-2917
As shown by Bug 1895233 (try result without https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 Parsing `<file:///c|> against <about:blank>` on Windows does not work: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= How to reproduce: `netwerk/test/unit/test_standardurl.js`: ``` url = Services.io.newURI("file:///c|"); Assert.equal(url.spec, "file:///c:"); ``` Try result (Windows): ``` TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_standardurl.js | test_verticalBar - [test_verticalBar : 519] "file:///c:/" == "file:///c:" ``` There are a few locations of interest that might be causing the issue: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416 https://searchfox.org/mozilla-central/source/netwerk/base/nsStandardURL.cpp#2896-2917
As shown by Bug 1895233 (try result without Windows guard blocks) https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 Parsing `<file:///c|> against <about:blank>` on Windows does not work: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= How to reproduce: `netwerk/test/unit/test_standardurl.js`: ``` url = Services.io.newURI("file:///c|"); Assert.equal(url.spec, "file:///c:"); ``` Try result (Windows): ``` TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_standardurl.js | test_verticalBar - [test_verticalBar : 519] "file:///c:/" == "file:///c:" ``` There are a few locations of interest that might be causing the issue: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416 https://searchfox.org/mozilla-central/source/netwerk/base/nsStandardURL.cpp#2896-2917
**As shown by Bug 1895233 (try result without Windows guard blocks)** https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 **Parsing `<file:///c|> against <about:blank>` on Windows does not work**: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= **How to reproduce**: `netwerk/test/unit/test_standardurl.js`: ``` url = Services.io.newURI("file:///c|"); Assert.equal(url.spec, "file:///c:"); ``` Try result (Windows): ``` TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_standardurl.js | test_verticalBar - [test_verticalBar : 519] "file:///c:/" == "file:///c:" ``` **There are a few locations of interest that might be causing the issue**: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416 https://searchfox.org/mozilla-central/source/netwerk/base/nsStandardURL.cpp#2896-2917
**As shown by Bug 1895233 (try result without Windows guard blocks)** https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 **Parsing `<file:///c|> against <about:blank>` on Windows does not work**: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= **How to reproduce**: `netwerk/test/unit/test_standardurl.js`: ``` url = Services.io.newURI("file:///c|"); Assert.equal(url.spec, "file:///c:"); ``` Try result (Windows) or run it on Windows VM: ``` TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_standardurl.js | test_verticalBar - [test_verticalBar : 519] "file:///c:/" == "file:///c:" ``` **There are a few locations of interest that might be causing the issue**: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416 https://searchfox.org/mozilla-central/source/netwerk/base/nsStandardURL.cpp#2896-2917
**As shown by Bug 1895233 (try result without Windows guard blocks)** https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 **Parsing `<file:///c|> against <about:blank>` on Windows does not work**: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= **How to reproduce**: `netwerk/test/unit/test_standardurl.js (test_verticalBar)`: ``` url = Services.io.newURI("file:///c|"); Assert.equal(url.spec, "file:///c:"); ``` Try result (Windows) or run it on Windows VM: ``` TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_standardurl.js | test_verticalBar - [test_verticalBar : 519] "file:///c:/" == "file:///c:" ``` **There are a few locations of interest that might be causing the issue**: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416 https://searchfox.org/mozilla-central/source/netwerk/base/nsStandardURL.cpp#2896-2917
**As shown by Bug 1895233 (try result without Windows guard blocks)** https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 **Parsing `<file:///c|> against <about:blank>` on Windows does not work**: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= **How to reproduce**: Add the following block to `netwerk/test/unit/test_standardurl.js (test_verticalBar)`: ``` url = Services.io.newURI("file:///c|"); Assert.equal(url.spec, "file:///c:"); ``` Try result (Windows) or run it on Windows VM: ``` TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_standardurl.js | test_verticalBar - [test_verticalBar : 519] "file:///c:/" == "file:///c:" ``` **There are a few locations of interest that might be causing the issue**: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416 https://searchfox.org/mozilla-central/source/netwerk/base/nsStandardURL.cpp#2896-2917
**As shown by Bug 1895233 (try result without Windows guard blocks)** https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 **Parsing `<file:///c|> against <about:blank>` on Windows does not work**: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= **How to reproduce**: Add the following block to `netwerk/test/unit/test_standardurl.js (test_verticalBar)`: ``` url = Services.io.newURI("file:///c|"); Assert.equal(url.spec, "file:///c:"); ``` Try result (Windows) or local result on Windows VM: ``` TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_standardurl.js | test_verticalBar - [test_verticalBar : 519] "file:///c:/" == "file:///c:" ``` **There are a few locations of interest that might be causing the issue**: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416 https://searchfox.org/mozilla-central/source/netwerk/base/nsStandardURL.cpp#2896-2917
**As shown by** Bug 1895233 **(try result without Windows guard blocks)** https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 **Parsing `<file:///c|> against <about:blank>` on Windows does not work**: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= **How to reproduce**: Add the following block to `netwerk/test/unit/test_standardurl.js (test_verticalBar)`: ``` url = Services.io.newURI("file:///c|"); Assert.equal(url.spec, "file:///c:"); ``` Try result (Windows) or local result on Windows VM: ``` TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_standardurl.js | test_verticalBar - [test_verticalBar : 519] "file:///c:/" == "file:///c:" ``` **There are a few locations of interest that might be causing the issue**: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416 https://searchfox.org/mozilla-central/source/netwerk/base/nsStandardURL.cpp#2896-2917
**As shown by** Bug 1895233 **(try result without Windows guard blocks)** https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 **Parsing `<file:///c|> against <about:blank>` on Windows** does not work: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= **How to reproduce**: Add the following block to `netwerk/test/unit/test_standardurl.js (test_verticalBar)`: ``` url = Services.io.newURI("file:///c|"); Assert.equal(url.spec, "file:///c:"); ``` Try result (Windows) or local result on Windows VM: ``` TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_standardurl.js | test_verticalBar - [test_verticalBar : 519] "file:///c:/" == "file:///c:" ``` **There are a few locations of interest that might be causing the issue**: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416 https://searchfox.org/mozilla-central/source/netwerk/base/nsStandardURL.cpp#2896-2917
**As shown by** Bug 1895233 **(try result without Windows guard blocks)** https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 **Parsing `<file:///c|> against <about:blank>` on Windows** does not work: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= **How to reproduce**: Add the following block to `netwerk/test/unit/test_standardurl.js (test_verticalBar)`: https://searchfox.org/mozilla-central/source/netwerk/test/unit/test_standardurl.js#502-519 ``` url = Services.io.newURI("file:///c|"); Assert.equal(url.spec, "file:///c:"); ``` Try result (Windows) or local result on Windows VM: ``` TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_standardurl.js | test_verticalBar - [test_verticalBar : 519] "file:///c:/" == "file:///c:" ``` **There are a few locations of interest that might be causing the issue**: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416 https://searchfox.org/mozilla-central/source/netwerk/base/nsStandardURL.cpp#2896-2917
**As shown by** Bug 1895233 **(try result without Windows guard blocks)** https://treeherder.mozilla.org/push-health/push?repo=try&revision=bd943bfb695ec6bbdde568c749176b44df8daaf4&tab=tests&testGroup=pr&selectedTest=netwerktestunitteststandardurljs&selectedTaskId=460410053&selectedJobName=netwerk%2Ftest%2Funit%2Ftest_standardurl.js+test-windows11-64-2009-qr%2Fopt-xpcshell-4 **Parsing `<file:///c|> against <about:blank>` on Windows** does not work: https://jsdom.github.io/whatwg-url/#url=ZmlsZTovLy9jfA==&base=YWJvdXQ6Ymxhbms= **How to reproduce**: Add the following block to `netwerk/test/unit/test_standardurl.js (test_verticalBar)`: https://searchfox.org/mozilla-central/source/netwerk/test/unit/test_standardurl.js#502-519 ``` url = Services.io.newURI("file:///c|"); Assert.equal(url.spec, "file:///c:"); ``` Try result (Windows) or local result on Windows VM: ``` TEST-UNEXPECTED-FAIL | netwerk/test/unit/test_standardurl.js | test_verticalBar - [test_verticalBar : 519] "file:///c:/" == "file:///c:" ``` **There are a few locations of interest that might be causing the issue**: https://searchfox.org/mozilla-central/rev/dc08a7321a22918d5a26b7641f9b10cd2a09d98e/netwerk/base/nsURLParsers.cpp#392-416