mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
b98a2be96b
Normally, assigning to e.g document.body.onload will forward to window.onload. However, in a detached DOM tree, there is no associated window, so we have nowhere to forward to, making this a no-op. The bulk of this change is making Document::window() return a nullable pointer, as documents created by DOMParser or DOMImplementation do not have an associated window object, and so must be able to return null from here. |
||
---|---|---|
.. | ||
Capabilities.cpp | ||
Capabilities.h | ||
Client.cpp | ||
Client.h | ||
Contexts.cpp | ||
Contexts.h | ||
ElementLocationStrategies.cpp | ||
ElementLocationStrategies.h | ||
Error.cpp | ||
Error.h | ||
ExecuteScript.cpp | ||
ExecuteScript.h | ||
Response.cpp | ||
Response.h | ||
Screenshot.cpp | ||
Screenshot.h | ||
TimeoutsConfiguration.cpp | ||
TimeoutsConfiguration.h |