summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS/Runtime/PromiseJobs.cpp
diff options
context:
space:
mode:
authorMax Wipfli <mail@maxwipfli.ch>2021-05-29 21:57:20 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-01 09:28:05 +0200
commit5caaa52bee16b4016cfee5ae0a78292c5c0987d5 (patch)
tree3a340d8c6744b7612b6a57dd0f403ccd16410f32 /Userland/Libraries/LibJS/Runtime/PromiseJobs.cpp
parentce80188d6f0dc2c89584ab31200d1047abc7d874 (diff)
downloadserenity-5caaa52bee16b4016cfee5ae0a78292c5c0987d5.zip
AK: Add hostname parameter to URL::create_with_file_scheme()
This adds a hostname parameter as the third parameter to URL::create_with_file_scheme(). If the hostname is "localhost", it will be ignored (as per the URL specification). This can for example be used by ls(1) to create more conforming file URLs.
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/PromiseJobs.cpp')
0 files changed, 0 insertions, 0 deletions