1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00
serenity/Userland/Libraries/LibWeb
Ali Mohammad Pur 6b50f23242 LibWasm+LibWeb: Sneak a JS::Completion into Wasm::Result
Imported functions in Wasm may throw JS exceptions, and we need to
preserve these exceptions so we can pass them to the calling JS code.

This also adds a `assert_wasm_result()` API to Result for cases where
only Wasm traps or values are expected (e.g. internal uses) to avoid
making LibWasm (pointlessly) handle JS exceptions that will never show
up in reality.
2023-02-26 10:54:23 +03:30
..
ARIA LibWeb: Add ARIA::allows_name_from_content 2023-02-19 15:58:20 +01:00
Bindings LibWeb: Make factory method of DOM::ElementFactory fallible 2023-02-22 09:55:33 +01:00
Cookie Browser+LibWeb+WebContent: Store cookie expiry times in UTC 2023-02-24 15:50:42 -05:00
Crypto LibWeb: Mark JS::Promise* return value for digest() with JS::NNGCPtr 2023-02-24 19:24:39 +01:00
CSS Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
DOM LibWeb: Make factory method of Selection::Selection fallible 2023-02-22 09:55:33 +01:00
DOMParsing LibWeb: Make factory method of DOMParsing::XMLSerializer fallible 2023-02-22 09:55:33 +01:00
Encoding LibWeb: Make factory method of Encoding::TextEncoder fallible 2023-02-22 09:55:33 +01:00
Fetch LibWeb: Port IDL implementations Blob and File to new String 2023-02-26 00:27:22 +01:00
FileAPI LibWeb: Port IDL implementations Blob and File to new String 2023-02-26 00:27:22 +01:00
Geometry LibWeb: Make factory method of Geometry::DOMRectReadOnly fallible 2023-02-22 09:55:33 +01:00
HighResolutionTime LibJS+Everywhere: Propagate Cell::initialize errors from Heap::allocate 2023-01-29 00:02:45 +00:00
HTML LibWeb: Port IDL implementations Blob and File to new String 2023-02-26 00:27:22 +01:00
Infra LibWeb: Add to_ascii_upper_case() from the Infra spec 2023-02-26 00:27:22 +01:00
IntersectionObserver LibWeb: Make factory method of IntersectionObserver fallible 2023-02-22 09:55:33 +01:00
Layout LibWeb: Consider transform property while finding containing block 2023-02-24 20:55:40 +01:00
Loader LibWeb: Render HTML content if present for HTTP error pages 2023-02-24 19:15:49 +01:00
MimeSniff Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
NavigationTiming LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
Page LibWeb: Make factory methods of UIEvents::WheelEvent fallible 2023-02-22 09:55:33 +01:00
Painting LibWeb: Stop overflow clip box aggregation on reached stacking context 2023-02-24 20:55:40 +01:00
Platform Userland: Replace remaining Core::Timer::construct()s with try_create() 2023-01-12 11:25:51 +01:00
ReferrerPolicy LibWeb: Implement 'Determine request’s Referrer' AO 2022-10-30 20:10:29 +00:00
RequestIdleCallback LibWeb: Make factory method of IdleDeadline fallible 2023-02-22 09:55:33 +01:00
ResizeObserver LibWeb: Make factory method of ResizeObserver::ResizeObserver fallible 2023-02-22 09:55:33 +01:00
Scripts LibWeb: Store stylesheet sources as StringViews 2023-02-19 00:51:16 +01:00
SecureContexts Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Selection LibWeb: Make factory method of Selection::Selection fallible 2023-02-22 09:55:33 +01:00
Streams LibWeb: Propagate error in factory method of Streams::ReadableStream 2023-02-22 09:55:33 +01:00
SVG LibWeb: Make factory method of Geometry::DOMPoint fallible 2023-02-22 09:55:33 +01:00
Tests Everywhere: Rename WrapperGenerator to BindingsGenerator 2022-09-21 23:06:08 +01:00
UIEvents LibWeb: Make factory methods of UIEvents::WheelEvent fallible 2023-02-22 09:55:33 +01:00
URL LibWeb: Make factory method of URL::URLSearchParamsIterator fallible 2023-02-22 09:55:33 +01:00
WebAssembly LibWasm+LibWeb: Sneak a JS::Completion into Wasm::Result 2023-02-26 10:54:23 +03:30
WebDriver LibWeb: Make factory method of DOM::ElementFactory fallible 2023-02-22 09:55:33 +01:00
WebGL LibWeb: Make factory methods of WebGL::WebGLContextEvent fallible 2023-02-22 09:55:33 +01:00
WebIDL LibWeb: Add a method to ExceptionOr to drop error handling 2023-02-18 00:52:47 +01:00
WebSockets LibWeb: Make factory method of HTML::CloseEvent fallible 2023-02-18 00:52:47 +01:00
XHR LibWeb: Port IDL implementations Blob and File to new String 2023-02-26 00:27:22 +01:00
XML LibWeb: Make factory method of DOM::ElementFactory fallible 2023-02-22 09:55:33 +01:00
CMakeLists.txt LibWeb: Introduce the FormDataEvent interface 2023-02-12 00:18:09 +00:00
Dump.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
Dump.h LibWeb: Fix ignored .to_string() errors in Web::dump_sheet() 2023-01-12 23:29:57 +00:00
FontCache.cpp LibWeb+LibIDL: Fix (or paper over) various const-correctness issues 2023-02-21 00:54:04 +01:00
FontCache.h LibWeb+LibIDL: Fix (or paper over) various const-correctness issues 2023-02-21 00:54:04 +01:00
Forward.h LibWeb: Introduce the FormDataEvent interface 2023-02-12 00:18:09 +00:00
idl_files.cmake LibWeb: Introduce the FormDataEvent interface 2023-02-12 00:18:09 +00:00
Namespace.cpp AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
Namespace.h AK+Everywhere: Rename FlyString to DeprecatedFlyString 2023-01-09 23:00:24 +00:00
PixelUnits.h LibWeb: Use type-correct hashing and formatting functions for pixels 2023-01-21 10:36:14 +01:00
TreeNode.h LibJS+LibWeb: Move headers around to allow including Value from Cell 2023-01-29 00:02:45 +00:00