mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
988c8451d4
Fixes crashing after following steps: 1. Open https://github.com/SerenityOS/serenity 2. Click on "Pull requests" tab The problem was `navigable` null pointer dereferencing in `decode_favicon()`. But navigable is null because the document was created by `parseFromString()` DOMParser API. With this change we skip fetching initiated by HTMLLinkElement if document does not have a browsing context: - Favicon is not displayed for such documents so no need to fetch. - Stylesheets fetching won't affect such document because style or layout does not run for them. |
||
---|---|---|
.. | ||
AK | ||
JSSpecCompiler | ||
Kernel | ||
LibAudio | ||
LibC | ||
LibCompress | ||
LibCore | ||
LibCpp | ||
LibCrypto | ||
LibDeviceTree | ||
LibDiff | ||
LibEDID | ||
LibELF | ||
LibGfx | ||
LibGL | ||
LibGLSL | ||
LibIMAP | ||
LibJS | ||
LibLocale | ||
LibMarkdown | ||
LibPDF | ||
LibRegex | ||
LibSemVer | ||
LibSQL | ||
LibTest | ||
LibTextCodec | ||
LibThreading | ||
LibTimeZone | ||
LibTLS | ||
LibTTF | ||
LibUnicode | ||
LibURL | ||
LibVideo | ||
LibWasm | ||
LibWeb | ||
LibWebView | ||
LibXML | ||
Spreadsheet | ||
Utilities | ||
CMakeLists.txt |