ladybird/Libraries
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
..
LibArchive
LibCompress
LibCore LibCore: Port EventLoop to Windows 2024-11-14 11:18:38 -07:00
LibCrypto
LibDiff
LibFileSystem
LibGC LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
LibGfx LibGfx: Add a method to copy a Bitmap to a PaintingSurface 2024-11-13 14:38:39 +01:00
LibHTTP
LibIDL LibIDL: Allow overwriting the generated attribute callback name 2024-11-14 19:50:22 +01:00
LibImageDecoderClient
LibIPC
LibJS LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
LibLine
LibMain
LibMedia
LibRegex
LibRequests
LibRIFF
LibSyntax
LibTest LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
LibTextCodec
LibThreading
LibTLS
LibUnicode
LibURL
LibWasm LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
LibWeb LibWeb: Make MessageEvents from {Window,MessagePort}.postMessage trusted 2024-11-15 18:50:08 +01:00
LibWebSocket
LibWebView LibWebView+UI: Handle common WebView client initialization in LibWebView 2024-11-14 11:47:32 +01:00
LibXML