1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-13 18:57:35 +00:00
serenity/Userland/Libraries/LibWeb
Andreas Kling 88f2f50c55 LibWeb: Don't use the internal window object when parsing HTML fragments
Instead, use the window object from the context element. This fixes an
issue where activating event handlers during fragment parsing would try
to set up callbacks using the internal window object's ESO.

This caused a verify_cast crash on Google Maps, since the internal realm
doesn't have an associated ESO. Perhaps it should, but in this specific
case, it makes more sense for fragment parsing to fully adopt the
context provided.
2022-09-06 01:12:44 +02:00
..
Bindings LibJS: Make Script and Module GC-allocated 2022-09-06 00:27:09 +02:00
Cookie Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Crypto LibWeb: Stop using Bindings::wrap() in a bunch of places 2022-09-06 00:27:09 +02:00
CSS LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
DOM LibWeb: Remove some unnecessary use of the internal realm in EventTarget 2022-09-06 01:07:59 +02:00
DOMParsing LibWeb: Make DOMException GC-allocated 2022-09-06 00:27:09 +02:00
Encoding LibWeb: Remove now-unused Bindings::Wrapper class 2022-09-06 00:27:09 +02:00
Fetch LibWeb: Make DOMException GC-allocated 2022-09-06 00:27:09 +02:00
FileAPI LibWeb: Make DOMException GC-allocated 2022-09-06 00:27:09 +02:00
Geometry LibWeb: Make DOMRect, DOMRectReadOnly and DOMRectList GC-allocated 2022-09-06 00:27:09 +02:00
HighResolutionTime LibWeb: Remove now-unused Bindings::Wrappable class 2022-09-06 00:27:09 +02:00
HTML LibWeb: Don't use the internal window object when parsing HTML fragments 2022-09-06 01:12:44 +02:00
Infra LibWeb: Add 'byte-{lower,upper}case' operations from the Infra spec 2022-07-14 00:42:26 +01:00
IntersectionObserver LibWeb: Make IntersectionObserver GC-allocated 2022-09-06 00:27:09 +02:00
Layout LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
Loader LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
MimeSniff LibWeb: Move Fetch infra into the Web::Fetch::Infrastructure namespace 2022-07-19 00:27:35 +01:00
NavigationTiming LibWeb: Remove now-unused Bindings::Wrappable class 2022-09-06 00:27:09 +02:00
Page LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
Painting LibWeb: Remove done TODO and fix typo 2022-08-23 13:27:02 +01:00
RequestIdleCallback LibWeb: Make IdleDeadline GC-allocated 2022-09-06 00:27:09 +02:00
ResizeObserver LibWeb: Make ResizeObserver GC-allocated 2022-09-06 00:27:09 +02:00
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Selection LibWeb: Make Selection GC-allocated 2022-09-06 00:27:09 +02:00
SVG LibWeb: Make DOMPoint and DOMPointReadOnly GC-allocated 2022-09-06 00:27:09 +02:00
Tests LibWeb: Capture <script> element's node document on execution 2021-12-21 13:50:00 -08:00
UIEvents LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
URL LibWeb: Remove now-unused Bindings::Wrappable class 2022-09-06 00:27:09 +02:00
WebAssembly LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
WebGL LibWeb: Use the WRAPPER_HACK() macro instead of hand-coding wrap() 2022-09-06 00:27:09 +02:00
WebSockets LibWeb: Make DOMException GC-allocated 2022-09-06 00:27:09 +02:00
XHR LibWeb: Remove the NoInstanceWrapper extended IDL attribute 2022-09-06 00:27:09 +02:00
XML LibWeb+LibJS: Make the EventTarget hierarchy (incl. DOM) GC-allocated 2022-09-06 00:27:09 +02:00
CMakeLists.txt LibWeb: Remove now-unused Bindings::Wrapper class 2022-09-06 00:27:09 +02:00
Dump.cpp LibWeb: Show iframe URLs in layout tree dumps 2022-08-05 12:46:40 +02:00
Dump.h LibWeb: Implement initial CSSFontFaceRule and FontFace classes 2022-03-28 22:25:25 +02:00
FontCache.cpp LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
FontCache.h LibGfx: Move other font-related files to LibGfx/Font/ 2022-04-09 23:48:18 +02:00
Forward.h LibWeb: Make DOMException GC-allocated 2022-09-06 00:27:09 +02:00
idl_files.cmake LibWeb: Remove the NO_INSTANCE option now that all wrappers are gone 2022-09-06 00:27:09 +02:00
ImageDecoding.cpp LibWeb: Abstract the image decoding via Web::ImageDecoding::Decoder 2022-05-15 12:17:36 +02:00
ImageDecoding.h LibWeb: Abstract the image decoding via Web::ImageDecoding::Decoder 2022-05-15 12:17:36 +02:00
Namespace.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Namespace.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TreeNode.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00