mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
AK: Add missing default port definitions for FTP scheme URLs
This is defined in the spec, but was missing in our table. Fix this, and add a spec comment for what is missing. Also begin a basic text based test for URL, so we can get some coverage of LibWeb's usage of URL too.
This commit is contained in:
parent
25153703c9
commit
4fdd4dd979
3 changed files with 43 additions and 4 deletions
9
Tests/LibWeb/Text/expected/URL/url.txt
Normal file
9
Tests/LibWeb/Text/expected/URL/url.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
ftp://serenityos.org:21
|
||||
protocol => 'ftp:'
|
||||
username => ''
|
||||
password => ''
|
||||
host => 'serenityos.org'
|
||||
hostname => 'serenityos.org'
|
||||
port => ''
|
||||
pathname => '/'
|
||||
search => ''
|
Loading…
Add table
Add a link
Reference in a new issue