Repository navigation
Fix stack overflow triggered by HTML file with deep <div> nesting - #47830
Merged
Merged
Conversation
Collaborator
|
EWS run on previous version of this PR (hash 11aa80a) Details |
Contributor
Author
|
EWS all green. Ready for review! |
rniwa
requested changes
Jul 11, 2025
rniwa
left a comment
Member
There was a problem hiding this comment.
We need to add a test for this.
ruthvikkonda
force-pushed
the
UAF-Mal-HTML
branch
from
July 11, 2025 17:40
11aa80a to
850cc85
Compare
Collaborator
|
EWS run on previous version of this PR (hash 850cc85) Details |
rniwa
reviewed
Jul 11, 2025
Member
There was a problem hiding this comment.
I don't think this waitUntilDone is necessary.
rniwa
reviewed
Jul 11, 2025
rniwa
reviewed
Jul 11, 2025
ruthvikkonda
force-pushed
the
UAF-Mal-HTML
branch
from
July 11, 2025 18:03
850cc85 to
5c04b1a
Compare
Collaborator
|
EWS run on previous version of this PR (hash 5c04b1a) Details |
ruthvikkonda
force-pushed
the
UAF-Mal-HTML
branch
from
July 11, 2025 22:04
5c04b1a to
49b3647
Compare
Collaborator
|
EWS run on current version of this PR (hash 49b3647) Details |
rniwa
approved these changes
Jul 11, 2025
https://bugs.webkit.org/show_bug.cgi?id=295722 rdar://152959431 Reviewed by Ryosuke Niwa. Pop off the HTMLElementStack when we reach max depth to accurately reflect DOM Tree state and mimic current DOM Tree behavior. New test makes sure that page successfuly loads given large amount of nested divs. The bug previously would cause page to hang. * LayoutTests/fast/parser/elementstack-nesting-depth-expected.txt: Added. * LayoutTests/fast/parser/elementstack-nesting-depth.html: Added. * Source/WebCore/html/parser/HTMLConstructionSite.cpp: (WebCore::HTMLConstructionSite::attachLater): Canonical link: https://commits.webkit.org/297288@main
webkit-commit-queue
force-pushed
the
UAF-Mal-HTML
branch
from
July 11, 2025 22:56
49b3647 to
915b208
Compare
Collaborator
|
Committed 297288@main (915b208): https://commits.webkit.org/297288@main Reviewed commits have been landed. Closing PR #47830 and removing active labels. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
915b208
49b3647
🛠 win🧪 wpe-wk2🧪 win-tests🧪 mac-wk1🛠 wpe-cairo🛠 gtk🧪 mac-AS-debug-wk2🧪 gtk-wk2🧪 api-gtk🧪 mac-intel-wk2🛠 playstation🛠 watch-sim