mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-23 19:00:59 +00:00
LibWeb: Avoid possible infinite recursion in Document::is_fully_active
This commit is contained in:
parent
c7773d0312
commit
bfc28bd621
Notes:
github-actions[bot]
2024-11-01 11:26:21 +00:00
Author: https://github.com/shannonbooth
Commit: bfc28bd621
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2081
1 changed files with 1 additions and 1 deletions
|
@ -2679,7 +2679,7 @@ bool Document::is_fully_active() const
|
|||
return true;
|
||||
|
||||
auto container_document = navigable->container_document();
|
||||
if (container_document && container_document->is_fully_active())
|
||||
if (container_document && container_document != this && container_document->is_fully_active())
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue