mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-19 18:30:27 +00: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:
parent
994f794487
commit
b049f44969
Notes:
github-actions[bot]
2026-03-21 13:42:53 +00:00
Author: https://github.com/awesomekling
Commit: b049f44969
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8546
Reviewed-by: https://github.com/tcl3
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue