LibWeb: Check for missing node or invalid query in obtain_theme_color

This commit is contained in:
Gingeh 2025-01-10 13:19:34 +11:00 committed by Tim Ledbetter
commit 9f2ce259ad
Notes: github-actions[bot] 2025-01-12 19:48:07 +00:00
3 changed files with 11 additions and 2 deletions

View 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>