diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-19 18:09:22 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-19 22:04:43 +0100 |
commit | f87edd4c14b0b72575d0915b3255f2870e99d7ea (patch) | |
tree | 02bd0dda0aecc9dc6f7d048d6537e8400e60e381 /Userland/Libraries/LibWeb/DOM | |
parent | aa45cdf71d0c45871f0e41401168564584213b8d (diff) | |
download | serenity-f87edd4c14b0b72575d0915b3255f2870e99d7ea.zip |
LibWeb: Don't crash when detached document tries to use system palette
If the current Document is not attached to a Web::Page for whatever
reason, but we're trying to look up a color from the system palette,
let's just fail the lookup instead of crashing the process.
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM')
0 files changed, 0 insertions, 0 deletions