ladybird/Libraries/LibWeb/HTML/CrossOrigin
Shannon Booth bc94e815ad LibWeb/HTML: Account for replaced cross-origin descriptors
Synthesize cross-origin Window and Location method/accessor wrappers
from the original IDL members instead of reading the current own
property descriptor, which may have been replaced by page script.
This prevents crashes and preserves the required cross-origin behavior
when properties such as frames or focus are overridden.

This requires making Location initialization define its internal own
properties through the ordinary object path, avoiding cross-origin
[[DefineOwnProperty]] during lazy Location creation.

These tests were previously not crashing in test-web as they were
improperly imported from WPT.
2026-05-30 22:55:44 +02:00
..
AbstractOperations.cpp LibWeb/HTML: Account for replaced cross-origin descriptors 2026-05-30 22:55:44 +02:00
AbstractOperations.h Revert "LibJS+LibWeb: Return Vector<PropertyKey> from… 2025-05-16 06:33:09 +01:00
CrossOriginPropertyDescriptorMap.h LibWeb: Remove ShadowRealm HTML integration 2026-04-05 13:57:58 +02:00
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: Avoid including Navigable.h in headers 2025-10-20 10:16:55 +01:00
Reporting.h LibWeb: Don't crash on named property access on detached window 2025-05-30 10:13:25 +02:00