[webkit-changes] [WebKit/WebKit] cedd7c: WebExtensionContext::loadDeclarativeNetRequestRule...

Commit Queue noreply at github.com
Mon Mar 11 19:56:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cedd7cbe98033ae4d91031274c620ba1e09b51c7
      https://github.com/WebKit/WebKit/commit/cedd7cbe98033ae4d91031274c620ba1e09b51c7
  Author: Rob Hudson <rob_hudson at apple.com>
  Date:   2024-03-11 (Mon, 11 Mar 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm

  Log Message:
  -----------
  WebExtensionContext::loadDeclarativeNetRequestRules takes 1.54s on the main thread loading Ghostery
https://webkit.org/b/270327
rdar://123867301

Reviewed by Timothy Hatcher.

Compile DNR rulesets on a background thread to prevent hang.

* Source/WebKit/UIProcess/Extensions/Cocoa/WebExtensionContextCocoa.mm:
(WebKit::WebExtensionContext::compileDeclarativeNetRequestRules):

Canonical link: https://commits.webkit.org/275952@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list