mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-06-28 12:10:28 +00:00
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. |
||
|---|---|---|
| .. | ||
| AbstractOperations.cpp | ||
| AbstractOperations.h | ||
| CrossOriginPropertyDescriptorMap.h | ||
| OpenerPolicy.h | ||
| OpenerPolicyEnforcementResult.h | ||
| Reporting.cpp | ||
| Reporting.h | ||