[webkit-changes] [WebKit/WebKit] f3f809: Hold a process throttler activity while serializin...
Wenson Hsieh
noreply at github.com
Wed Jan 24 10:35:49 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f3f8098013c24e7a154b6b44b3e5de4c7f5768eb
https://github.com/WebKit/WebKit/commit/f3f8098013c24e7a154b6b44b3e5de4c7f5768eb
Author: Wenson Hsieh <wenson_hsieh at apple.com>
Date: 2024-01-24 (Wed, 24 Jan 2024)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/NSAttributedString.mm
Log Message:
-----------
Hold a process throttler activity while serializing attributed strings from HTML or web archive data
https://bugs.webkit.org/show_bug.cgi?id=267985
rdar://118957708
Reviewed by Chris Dumez.
Maintain a `ProcessThrottler::Activity` over the entire course of an attributed string serialization
operation; this is necessary to ensure that we run at foreground priority, even when using offscreen
`WKWebView`s to load and serialize `NSAttributedString` data.
* Source/WebKit/UIProcess/API/Cocoa/NSAttributedString.mm:
(+[NSAttributedString _loadFromHTMLWithOptions:contentLoader:completionHandler:]):
Canonical link: https://commits.webkit.org/273427@main
More information about the webkit-changes
mailing list