mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-28 02:27:19 +02:00
LibWeb: Remove noisy debug log for disconnected script elements
This is another normal spec early return in prepare_script(), not an error worth logging.
This commit is contained in:
committed by
Andreas Kling
parent
994f794487
commit
b049f44969
Notes:
github-actions[bot]
2026-03-21 13:42:53 +00:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/b049f449693 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8546 Reviewed-by: https://github.com/tcl3
@@ -232,10 +232,8 @@ void HTMLScriptElement::prepare_script()
|
||||
}
|
||||
|
||||
// 8. If el is not connected, then return.
|
||||
if (!is_connected()) {
|
||||
dbgln("HTMLScriptElement: Refusing to run script because the element is not connected.");
|
||||
if (!is_connected())
|
||||
return;
|
||||
}
|
||||
|
||||
// 9. If any of the following are true:
|
||||
// - el has a type attribute whose value is the empty string;
|
||||
|
||||
Reference in New Issue
Block a user