ladybird/Libraries/LibWeb
Luke Wilde 079c28d5e6 LibWeb: Make MessageEvents from {Window,MessagePort}.postMessage trusted
The MessagePort one in particular is required by Cloudflare Turnstile,
as the method it takes to run JS in a worker is to `eval` the contents
of `MessageEvent.data`. However, it will only do this if
`MessageEvent.isTrusted` is true, `MessageEvent.origin` is the empty
string and `MessageEvent.source` is `null`.

The Window version is a quick fix whilst in the vicinity, as its
MessageEvent should also be trusted.
2024-11-15 18:50:08 +01:00
..
Animations LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ARIA Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Bindings LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Clipboard LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Cookie Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Crypto LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CSS LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
DOM LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
DOMParsing LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
DOMURL LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Encoding LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
EntriesAPI LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
EventTiming LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Fetch LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
FileAPI LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Geometry LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
HighResolutionTime LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
HTML LibWeb: Make MessageEvents from {Window,MessagePort}.postMessage trusted 2024-11-15 18:50:08 +01:00
IndexedDB LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Infra Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Internals LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
IntersectionObserver LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Layout LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Loader LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MathML LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MediaCapabilitiesAPI LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MediaSourceExtensions LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MimeSniff Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MixedContent LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
NavigationTiming LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Page LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Painting LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
PerformanceTimeline LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
PermissionsPolicy Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Platform LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ReferrerPolicy Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
RequestIdleCallback LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ResizeObserver LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SecureContexts Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Selection LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ServiceWorker LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SRI Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
StorageAPI LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Streams LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
SVG LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
UIEvents LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
UserTiming LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
WebAssembly LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
WebAudio LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
WebDriver LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
WebGL LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
WebIDL LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
WebSockets LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
WebVTT LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Worker Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
XHR LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
XLink Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
XML LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
CMakeLists.txt LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Dump.cpp LibWeb/CSS: Make :has() take a <relative-selector-list> 2024-11-14 19:51:45 +01:00
Dump.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Forward.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
idl_files.cmake LibWeb: Add WebGLShaderPrecisionFormat 2024-11-13 11:41:54 +01:00
InvalidateDisplayList.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Namespace.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Namespace.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PixelUnits.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PixelUnits.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TraversalDecision.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TraversalOrder.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TreeNode.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00