1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 08:35:09 +00:00
serenity/Userland/Libraries/LibWeb/HTML/Scripting
Andreas Kling 602f927982 LibWeb: Start implementing "create and initialize a Document" from HTML
The way we've been creating DOM::Document has been pretty far from what
the spec tells us to do, and this is a first big step towards getting us
closer to spec.

The new Document::create_and_initialize() is called by FrameLoader after
loading a "text/html" resource.

We create the JS Realm and the Window object when creating the Document
(previously, we'd do it on first access to Document::interpreter().)

The realm execution context is owned by the Environment Settings Object.
2022-08-05 12:46:40 +02:00
..
ClassicScript.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
ClassicScript.h LibWeb: Move ClassicScript::m_settings_object into the Script base 2022-06-29 21:21:50 +01:00
Environments.cpp LibWeb: Start implementing "create and initialize a Document" from HTML 2022-08-05 12:46:40 +02:00
Environments.h LibWeb: Start implementing "create and initialize a Document" from HTML 2022-08-05 12:46:40 +02: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 LibWeb: Move ClassicScript::m_settings_object into the Script base 2022-06-29 21:21:50 +01:00
WindowEnvironmentSettingsObject.cpp LibWeb: Start implementing "create and initialize a Document" from HTML 2022-08-05 12:46:40 +02:00
WindowEnvironmentSettingsObject.h LibWeb: Start implementing "create and initialize a Document" from HTML 2022-08-05 12:46:40 +02:00
WorkerEnvironmentSettingsObject.h LibWeb: Start implementing "create and initialize a Document" from HTML 2022-08-05 12:46:40 +02:00