Closed
Bug 1507357
Opened 6 years ago
Closed 5 years ago
DOM URL object doesn't allow setting pathname when underlying implementation is SimpleURI
Categories
(Core :: Networking, defect, P2)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla66
People
(Reporter: loganfsmyth, Assigned: valentin)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
The 'pathname' setter on the URL constructor doesn't always work. > var url = new URL("webpack:///foo"); > url.pathname = "/path"; > url.pathname; > // "///foo" The extra "//" in the unexpected result is covered by https://bugzilla.mozilla.org/show_bug.cgi?id=1507355 so that can be ignored, but the core of it is that the setter is a no-op. It appears to be unimplemented: https://hg.mozilla.org/mozilla-central/file/tip/netwerk/base/nsSimpleURI.cpp#l773
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → valentin.gosu
Priority: -- → P2
Whiteboard: [necko-triaged]
Assignee | ||
Comment 1•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9f8dbab9a35212213ed3121a6f35f43b62342a4b
Assignee | ||
Comment 2•5 years ago
|
||
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/536e641e0d3f Implement nsSimpleURI::SetFilePath r=kershaw
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/536e641e0d3f
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Updated•5 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•