mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-01 13:49:05 +00:00
LibWeb: Check for missing node or invalid query in obtain_theme_color
This commit is contained in:
parent
6fd03425b2
commit
9f2ce259ad
Notes:
github-actions[bot]
2025-01-12 19:48:07 +00:00
Author: https://github.com/Gingeh
Commit: 9f2ce259ad
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3207
Reviewed-by: https://github.com/tcl3 ✅
3 changed files with 11 additions and 2 deletions
8
Tests/LibWeb/Text/input/theme-color-crash.html
Normal file
8
Tests/LibWeb/Text/input/theme-color-crash.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<meta name="theme-color" content="red">
|
||||
<script src="include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
println("PASS (didn't crash)");
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue