mirror of
https://github.com/RGBCube/serenity
synced 2025-10-27 09:32:33 +00:00
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. |
||
|---|---|---|
| .. | ||
| ContentFilter.cpp | ||
| ContentFilter.h | ||
| FileRequest.cpp | ||
| FileRequest.h | ||
| FrameLoader.cpp | ||
| FrameLoader.h | ||
| ImageLoader.cpp | ||
| ImageLoader.h | ||
| ImageResource.cpp | ||
| ImageResource.h | ||
| LoadRequest.cpp | ||
| LoadRequest.h | ||
| ProxyMappings.cpp | ||
| ProxyMappings.h | ||
| Resource.cpp | ||
| Resource.h | ||
| ResourceLoader.cpp | ||
| ResourceLoader.h | ||