1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-26 01:35:08 +00:00
serenity/Userland/Libraries/LibWeb/XHR
Kenneth Myhra 622a4f29a7 LibWeb: Add public get accessor function for Blob's internal ByteBuffer
Blob::bytes() returns the ReadonlyBytes representation of our internal
ByteBuffer.

This change requires us to ByteBuffer::copy() Blob's ReadonlyBytes to a
ByteBuffer in XHR::send() and corresponding error handling of the copy
operation.

This removes the need for Blob to declare XMLHttpRequest as a friend
class.
2022-07-26 20:54:30 +01:00
..
EventNames.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventNames.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProgressEvent.h LibWeb: Use long long where it was replaced with long 2022-06-06 22:34:45 +01:00
ProgressEvent.idl LibWeb: Use long long where it was replaced with long 2022-06-06 22:34:45 +01:00
XMLHttpRequest.cpp LibWeb: Add public get accessor function for Blob's internal ByteBuffer 2022-07-26 20:54:30 +01:00
XMLHttpRequest.h LibWeb: Implement BufferSource support for XHR::send() 2022-07-22 23:08:28 +01:00
XMLHttpRequest.idl LibWeb: Implement BufferSource support for XHR::send() 2022-07-22 23:08:28 +01:00
XMLHttpRequestEventTarget.cpp LibWeb: Rewrite EventTarget to more closely match the spec 2022-02-08 17:47:44 +00:00
XMLHttpRequestEventTarget.h LibWeb: Rewrite EventTarget to more closely match the spec 2022-02-08 17:47:44 +00:00
XMLHttpRequestEventTarget.idl LibWeb: Replace ad-hoc EventHandler type with callback function typedef 2022-03-31 01:10:47 +02:00