Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a2ef94d0a264425936aaad7aa40f7947ba87fd4
      
https://github.com/WebKit/WebKit/commit/3a2ef94d0a264425936aaad7aa40f7947ba87fd4
  Author: Brian Weinstein <bweinst...@apple.com>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

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

  Log Message:
  -----------
  Start adding code to load/compile content modification rules
https://bugs.webkit.org/show_bug.cgi?id=264959
<rdar://problem/118512992>

Reviewed by Timothy Hatcher.

Future PRs will add logic to translate DNR rules to the WebKit content blocker 
format, and
actually compile/load the rule lists using WebKit API.

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

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to