summaryrefslogtreecommitdiff
path: root/Ports/pfetch
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2022-09-25 16:15:49 -0600
committerLinus Groh <mail@linusgroh.de>2022-10-01 21:05:32 +0100
commit8de7e49a5648cdf084689a6b6cb49715f8ccad02 (patch)
tree24620bc96e781ac58ff091341de488717699822b /Ports/pfetch
parent8407bf60c56bc41d6f450bb21495c8591b9271bd (diff)
downloadserenity-8de7e49a5648cdf084689a6b6cb49715f8ccad02.zip
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.
Diffstat (limited to 'Ports/pfetch')
0 files changed, 0 insertions, 0 deletions