Files
sousa-gecko/testing/web-platform/tests/html/links/icon/empty-href-crash.html
T
webbeef 2e85600e0f Bug 2004424 [wpt PR 56521] - dom: Avoid crashing on empty favicon href attribute, a=testonly
Automatic update from web-platform-tests
dom: don't crash on empty favicon href attributes.

Add a check to handle_favicon_url() similar to the ones done in similar
functions: handle_stylesheet_url() and fetch_and_process_prefetch_link()

Signed-off-by: webbeef <me@webbeef.org>

--

wpt-commits: 2aa358b147d0c41801449eecc0ae798e6cac16b0
wpt-pr: 56521
2025-12-11 08:59:36 +00:00

5 lines
147 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>Test for #41047: Panic when the href attribute of a link is empty.</title>
<link rel="icon" href="">