1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-08 05:27:14 +09:00
ladybird/Libraries/LibWeb/HTML/CrossOrigin
Andreas Kling 2eea8894a1 LibWeb: Don't crash on named property access on detached window
In WindowProxy.[[Get]] it's not guaranteed that the current principal
global object has an associated document at the moment. This may happen
if a script is continuing to execute while a navigation has been
initiated.

Because of that, we can't blindly dereference the active document
pointer, so this patch adds a null check.
2025-05-30 10:13:25 +02:00
..
AbstractOperations.cpp Revert "LibJS+LibWeb: Return Vector<PropertyKey> from… 2025-05-16 06:33:09 +01:00
AbstractOperations.h Revert "LibJS+LibWeb: Return Vector<PropertyKey> from… 2025-05-16 06:33:09 +01:00
CrossOriginPropertyDescriptorMap.h
OpenerPolicy.h LibWeb: Add the new noopener-allow-popups value to OpenerPolicy 2025-02-27 11:25:26 +00:00
OpenerPolicyEnforcementResult.h
Reporting.cpp LibWeb: Don't crash on named property access on detached window 2025-05-30 10:13:25 +02:00
Reporting.h LibWeb: Don't crash on named property access on detached window 2025-05-30 10:13:25 +02:00