mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
079c28d5e6
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. |
||
---|---|---|
.. | ||
LibArchive | ||
LibCompress | ||
LibCore | ||
LibCrypto | ||
LibDiff | ||
LibFileSystem | ||
LibGC | ||
LibGfx | ||
LibHTTP | ||
LibIDL | ||
LibImageDecoderClient | ||
LibIPC | ||
LibJS | ||
LibLine | ||
LibMain | ||
LibMedia | ||
LibRegex | ||
LibRequests | ||
LibRIFF | ||
LibSyntax | ||
LibTest | ||
LibTextCodec | ||
LibThreading | ||
LibTLS | ||
LibUnicode | ||
LibURL | ||
LibWasm | ||
LibWeb | ||
LibWebSocket | ||
LibWebView | ||
LibXML |