ladybird/Userland/Libraries/LibWeb/HTML/Parser
Andreas Kling b98a2be96b LibWeb: Ignore window-forwarded document.body.onfoo in detached DOM
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.
2024-03-11 18:29:10 +01:00
..
Entities.cpp Everywhere: Use nested namespace qualifiers 2023-07-12 10:05:42 +03:30
Entities.h Everywhere: Use nested namespace qualifiers 2023-07-12 10:05:42 +03:30
HTMLEncodingDetection.cpp LibWeb: Fix utf16-be check in HTMLEncodingDetection 2024-01-08 23:35:09 +01:00
HTMLEncodingDetection.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
HTMLParser.cpp LibWeb: Ignore window-forwarded document.body.onfoo in detached DOM 2024-03-11 18:29:10 +01:00
HTMLParser.h Everywhere: Use unqualified AK::URL 2024-02-25 08:54:31 +01:00
HTMLToken.cpp LibWeb: Port HTMLToken::to_deprecated_string to new AK String 2023-11-06 11:37:08 +01:00
HTMLToken.h LibWeb: Return an Optional<String> from HTMLToken::attribute 2023-11-11 08:50:25 +01:00
HTMLTokenizer.cpp LibWeb: Stop parsing after document.write at the insertion point 2024-02-20 17:04:36 +01:00
HTMLTokenizer.h LibWeb: Stop parsing after document.write at the insertion point 2024-02-20 17:04:36 +01:00
ListOfActiveFormattingElements.cpp LibWeb: Port Element::local_name and TagNames from Deprecated String 2023-10-03 14:47:53 +01:00
ListOfActiveFormattingElements.h LibWeb: Port Element::local_name and TagNames from Deprecated String 2023-10-03 14:47:53 +01:00
StackOfOpenElements.cpp LibWeb: Pass DOM namespace strings as FlyString in more places 2023-11-04 21:28:30 +01:00
StackOfOpenElements.h LibWeb: Port Element::local_name and TagNames from Deprecated String 2023-10-03 14:47:53 +01:00