Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-04 | LibWeb: Don't send a request body in XMLHttpRequest GET or HEAD | Andreas Kling | |
2021-10-01 | LibWeb: Add the missing ProgressEvent IDL constructor | Idan Horowitz | |
2021-09-27 | LibWeb: Allow passing a (String) body to XMLHttpRequest.send() | Andreas Kling | |
This patch implements the simplest form of send(body): strings. | |||
2021-09-25 | LibWeb: Provide a default DOM::EventTarget::dispatch_event() | Andreas Kling | |
All EventTarget subclasses except Window do the same exact thing in their overrides, so let's just share an implementation in the base. | |||
2021-09-19 | LibWeb: Implement XMLHttpRequest.getAllResponseHeaders() | Andreas Kling | |
2021-09-19 | LibWeb: Use an enumerator macro for XMLHttpRequestEventTarget accessors | Andreas Kling | |
2021-09-19 | LibWeb: Keep XMLHttpRequest alive while handling load/error events | Andreas Kling | |
A weakly held XHR object is not guaranteed to remain alive after running arbitrary JavaScript, so let's make sure we take a strong reference in the ResourceLoader callbacks here. | |||
2021-09-19 | LibWeb: Remove unnecessary WeakPtr creation in XMLHttpRequest::send() | Andreas Kling | |
2021-09-19 | LibWeb: Add event handler attributes to XMLHttpRequestEventTarget | Andreas Kling | |
This patch adds the following event handler attributes to XHR's EventTarget base class: - onloadstart - onprogress - onabort - onerror - onload - ontimeout - onloadend | |||
2021-09-19 | LibWeb: Implement XMLHttpRequest.onreadystatechange | Andreas Kling | |
2021-09-14 | AK: Make URL::m_port an Optional<u16>, Expose raw port getter | Idan Horowitz | |
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-13 | LibWeb: Add the Web::URL namespace and move URLEncoder to it | Idan 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. | |||
2021-09-12 | LibWeb+Browser: Add Debug menu action for toggling Same-Origin Policy | Andreas Kling | |
Sometimes it's useful to turn off the SOP for testing purposes. Let's make that easy by having a Debug menu item for it. :^) | |||
2021-09-09 | LibWeb: Rename Document::complete_url() => parse_url() | Andreas Kling | |
This better matches the spec nomenclature. | |||
2021-09-09 | LibWeb: Rename DOM::Window::document() => associated_document() | Andreas Kling | |
Match the spec nomenclature. | |||
2021-09-09 | LibWeb: Add DOM::Window::page() | Andreas Kling | |
This helps us to get from a Window to the containing Page, without clients having to go through Document. | |||
2021-09-06 | Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe | Ali Mohammad Pur | |
2021-06-27 | LibJS: Rename Function => FunctionObject | Andreas Kling | |
2021-05-16 | AK+Userland: Remove nullability feature for the ByteBuffer type | Gunnar Beutner | |
Nobody seems to use this particular feature, in fact there were some bugs which were uncovered by removing operator bool. | |||
2021-04-23 | AK: Rename adopt() to adopt_ref() | Andreas Kling | |
This makes it more symmetrical with adopt_own() (which is used to create a NonnullOwnPtr from the result of a naked new.) | |||
2021-04-22 | Everywhere: Use linusg@serenityos.org for my copyright headers | Linus Groh | |
2021-04-22 | Everything: Move to SPDX license identifiers in all files. | Brian Gianforcaro | |
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-15 | LibWeb: Set Cookie header on remaining resource requests | Timothy Flynn | |
2021-04-03 | LibWeb: Implement XMLHttpRequest.getResponseHeader() | Linus Groh | |
This lets jQuery's AJAX functionality progress further :^) | |||
2021-04-03 | LibWeb: Implement XMLHttpRequest.status | Linus Groh | |
This lets jQuery's AJAX functionality progress further :^) | |||
2021-04-03 | LibWeb: Make XMLHttpRequest.open() work with relative URLs | Linus Groh | |
2021-04-03 | LibWeb: Pass optional status code to ResourceLoader callbacks | Linus Groh | |
This is needed for XMLHttpRequest, and will certainly be useful for other things, too. | |||
2021-02-20 | LibWeb: Use DOMException in XMLHttpRequest::send() | Linus Groh | |
2021-02-20 | LibWeb: Use DOMException in XMLHttpRequest::open() | Linus Groh | |
2021-02-20 | LibWeb: Use DOMException in XMLHttpRequest::set_request_header() | Linus Groh | |
2021-02-17 | LibWeb: Add constructor to XMLHttpRequest IDL interface | Linus Groh | |
2021-02-10 | LibWeb: Remove a whole bunch of unnecessary #includes | Andreas Kling | |
2021-01-23 | LibWeb: Add XHREventTarget and have XHR inherit from it | Luke | |
2021-01-23 | LibWeb: Flesh out existing XHR methods a bit more | Luke | |
This makes open, send and setRequestHeader a bit more spec compliant and adds a bunch of FIXMEs for unimplemented parts. | |||
2021-01-23 | LibWeb: Generate JS bindings for XMLHttpRequest from IDL :^) | Andreas Kling | |
Remove the hand-written XHR bindings in favor of generated ones. | |||
2021-01-23 | LibWeb: Move XMLHttpRequest to separate XHR directory | Andreas Kling | |
In keeping with the one-directory-per-web-spec layout, let's move XHR into its own clubhouse. |