Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f3f8098013c24e7a154b6b44b3e5de4c7f5768eb
      
https://github.com/WebKit/WebKit/commit/f3f8098013c24e7a154b6b44b3e5de4c7f5768eb
  Author: Wenson Hsieh <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to