Idan Horowitz
d6cfa34667
AK: Make URL::m_port an Optional<u16>, Expose raw port getter
...
Our current way of signalling a missing port with m_port == 0 was
lacking, as 0 is a valid port number in URLs.
2021-09-14 00:14:45 +02:00
Luke Wilde
ee5bac0891
LibWeb: Implement some custom JS internal overrides for Location
...
As required by the spec. Note that this isn't the full suite of
overrides.
2021-09-12 16:07:24 +02:00
Andreas Kling
e1fb8bef09
LibWeb: Rename Document::complete_url() => parse_url()
...
This better matches the spec nomenclature.
2021-09-09 21:25:10 +02:00
Andreas Kling
90cdeebfb3
LibWeb: Rename DOM::Window::document() => associated_document()
...
Match the spec nomenclature.
2021-09-09 21:25:10 +02:00
Idan Horowitz
6468a2bf21
LibWeb: Replace usage of native properties with accessors in Location
...
This is required by the WebIDL specification.
2021-07-05 14:40:49 +01:00
Andreas Kling
c7e9b6d00f
LibWeb: Convert StringBuilder::appendf() => AK::Format
2021-05-07 21:12:09 +02:00
Brian Gianforcaro
1682f0b760
Everything: Move to SPDX license identifiers in all files.
...
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-22 11:22:27 +02:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00