Bug 269047 - Connect body to the document before invoking tryFastParsingHTMLFragment
Summary: Connect body to the document before invoking tryFastParsingHTMLFragment
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-02-08 21:43 PST by Ryosuke Niwa
Modified: 2024-02-10 14:23 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2024-02-08 21:43:12 PST
It's more efficient to connect body to the document before invoking tryFastParsingHTMLFragment since that'll avoid secondary insertedIntoAncestor traversal on the newly created subtree.
Comment 1 Ryosuke Niwa 2024-02-08 21:55:58 PST
Pull request: https://github.com/WebKit/WebKit/pull/24129
Comment 2 EWS 2024-02-10 14:22:51 PST
Committed 274429@main (2652615cd5bd): <https://commits.webkit.org/274429@main>

Reviewed commits have been landed. Closing PR #24129 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2024-02-10 14:23:13 PST
<rdar://problem/122720540>