summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/URL
AgeCommit message (Collapse)Author
2022-03-22LibWeb: Convert URL to use TRY for error propagationLinus Groh
2022-02-16LibWeb: Add imports to all IDL files that depend on othersAli Mohammad Pur
2022-02-14LibWeb: Add support for the record variant of URLSearchParamsLuke Wilde
2022-01-31LibWeb: Accept array pairs in URLSearchParams constructorLuke Wilde
2021-11-11Everywhere: Pass AK::StringView by valueAndreas Kling
2021-10-31LibWeb: Convert all generated bindings to ThrowCompletionOrTimothy Flynn
This also required converting URLSearchParams::for_each and the callback function it invokes to ThrowCompletionOr. With this, the ReturnType enum used by WrapperGenerator is removed as all callers would be using ReturnType::Completion.
2021-10-26LibWeb: Implement URLSearchParams.getAllLuke Wilde
2021-10-03LibWeb: Make the URL.port setter return after assigning the empty stringAndreas Kling
This matches the spec ("3. Otherwise, ...")
2021-09-28LibWeb: Make URLSearchParams iterableIdan Horowitz
This uses the new support for the iterable IDL property.
2021-09-14LibWeb: Add the URL::{protocol, pathname, search, hash} attributesIdan Horowitz
2021-09-14LibWeb: Add the URL::host, URL::hostname & URL:port attributesIdan Horowitz
2021-09-14LibWeb: Add the URL::username, URL::password & URL::origin attributesIdan Horowitz
2021-09-14LibWeb: Add the URL::searchParams attributeIdan Horowitz
2021-09-14LibWeb: Add the URL::href attribute and URL::to_json methodIdan Horowitz
2021-09-14LibWeb: Add a bare implementation of the URL built-inIdan Horowitz
This only has the constructor implemented for now.
2021-09-14LibWeb: Move url_{encode, decode} to URL/URLSearchParams.{h, cpp}Idan Horowitz
The new URL built-in that will reside in URL.{h, cpp} will have an URLSearchParams member, which means it has to include its header, and as such URLSearchParams.h can't include URL's header, which it needs as it uses the url_{encode, decode} functions.
2021-09-13LibWeb: Identical sub-expression bug in URLSearchParams::setBrian Gianforcaro
Flagged by sonarcloud, we appear to want to make sure the entry.name matches the name we are searching for duplicates of. Link: https://sonarcloud.io/project/issues?fileUuids=AXvdC606QRvsO1F91p5C&id=SerenityOS_serenity&open=AXvdC_NEQRvsO1F91p6j
2021-09-13LibWeb: Add the URLSearchParams built-inIdan Horowitz
This is a very partial implementation, as some features (like 2 of the possible constructor types, iteration and the getAll method) are missing, and other's are not implemented due to the currently missing URL built-in.
2021-09-13LibWeb: Add URL::url_decode for decoding form url encoded parametersIdan Horowitz
2021-09-13LibWeb: Add the Web::URL namespace and move URLEncoder to itIdan Horowitz
This namespace will be used for all interfaces defined in the URL specification, like URL and URLSearchParams. This has the unfortunate side-effect of requiring us to use the fully qualified AK::URL name whenever we want to refer to the AK class, so this commit also fixes all such references.