1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 10:15:07 +00:00
serenity/Userland/Libraries/LibWeb/HTML/Scripting
Andrew Kaster 8de7e49a56 LibWeb: Remove unecessary dependence on Window from DOM and WebIDL
These classes only needed Window to get at its realm. Pass a realm
directly to construct DOM and WebIDL classes.

This change importantly removes the guarantee that a Document will
always have a non-null Window object. Only Documents created by a
BrowsingContext will have a non-null Window object. Documents created by
for example, DocumentFragment, will not have a Window (soon).

This incremental commit leaves some workarounds in place to keep other
parts of the code building.
2022-10-01 21:05:32 +01:00
..
ClassicScript.cpp LibWeb: Move DOMException from DOM/ to WebIDL/ 2022-09-25 19:13:31 +01:00
ClassicScript.h LibJS+LibWeb: Make HTML::Script GC-allocated 2022-09-06 00:27:09 +02:00
Environments.cpp LibWeb: Move Web prototypes and constructors to new Intrinsics object 2022-10-01 21:05:32 +01:00
Environments.h LibWeb: Remove unecessary dependence on Window from DOM and WebIDL 2022-10-01 21:05:32 +01:00
ExceptionReporter.cpp LibWeb: Print unhandled rejections the same way as unhandled exceptions 2022-06-29 21:21:50 +01:00
ExceptionReporter.h LibWeb: Print unhandled rejections the same way as unhandled exceptions 2022-06-29 21:21:50 +01:00
Script.cpp LibWeb: Move ClassicScript::m_settings_object into the Script base 2022-06-29 21:21:50 +01:00
Script.h LibJS+LibWeb: Make HTML::Script GC-allocated 2022-09-06 00:27:09 +02:00
WindowEnvironmentSettingsObject.cpp LibWeb: Move Web prototypes and constructors to new Intrinsics object 2022-10-01 21:05:32 +01:00
WindowEnvironmentSettingsObject.h LibWeb: Move Web prototypes and constructors to new Intrinsics object 2022-10-01 21:05:32 +01:00
WorkerEnvironmentSettingsObject.h LibWeb: Move Web prototypes and constructors to new Intrinsics object 2022-10-01 21:05:32 +01:00