mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:07:34 +00:00
LibWeb/URL: Use the correct spec URL comment for URL::port()
Since in the previous snapshot we were using the hostname setter's spec URL.
This commit is contained in:
parent
9ccf25fdbe
commit
93e230ba58
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ void URL::set_hostname(String const& hostname)
|
|||
m_url = move(result_url);
|
||||
}
|
||||
|
||||
// https://url.spec.whatwg.org/#ref-for-dom-url-hostname①
|
||||
// https://url.spec.whatwg.org/#dom-url-port
|
||||
WebIDL::ExceptionOr<String> URL::port() const
|
||||
{
|
||||
auto& vm = realm().vm();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue