ladybird/Userland/Libraries/LibWeb/HTML/CrossOrigin
Andreas Kling ad843b6e4a LibWeb: Don't crash when accessing property in detached Window object
After removing an iframe from the DOM, its contentWindow will be
detached from its browsing context, per spec.

Because the contentWindow is still accessible, we cannot assume that
Window objects always have an associated browsing context.

This needs to be fixed in the spec, but let's add a sensible null check
in the meantime.
2024-03-11 18:29:10 +01:00
..
AbstractOperations.cpp LibWeb: Port CrossOriginPropertyDescriptorMap from ByteString 2023-12-24 13:26:50 +01:00
AbstractOperations.h LibJS+LibWeb: Add a bunch of missing includes 2023-03-06 13:05:43 +00:00
CrossOriginOpenerPolicy.h LibWeb: Port CrossOriginOpenerPolicy from DeprecatedString 2023-11-28 17:15:27 -05:00
CrossOriginOpenerPolicyEnforcementResult.h Everywhere: Use unqualified AK::URL 2024-02-25 08:54:31 +01:00
CrossOriginPropertyDescriptorMap.h LibWeb: Port CrossOriginPropertyDescriptorMap from ByteString 2023-12-24 13:26:50 +01:00
Reporting.cpp LibWeb: Don't crash when accessing property in detached Window object 2024-03-11 18:29:10 +01:00
Reporting.h LibWeb: Don't crash when accessing property in detached Window object 2024-03-11 18:29:10 +01:00