[webkit-changes] [WebKit/WebKit] 349c5a: Use the rule type as a prefix for the DNR database...

Brian Weinstein noreply at github.com
Wed Mar 13 10:25:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 349c5a3059a9047c7d9939deab1e2bbd4dc08e10
      https://github.com/WebKit/WebKit/commit/349c5a3059a9047c7d9939deab1e2bbd4dc08e10
  Author: Brian Weinstein <bweinstein at apple.com>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

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

  Log Message:
  -----------
  Use the rule type as a prefix for the DNR database table
https://bugs.webkit.org/show_bug.cgi?id=270911
rdar://121455049

Reviewed by Timothy Hatcher.

This matches the current database format in Safari, and having these formats match will help us migrate existing extension data
over to WebKit's new file structure.

While we're here, we are changing the name of the database file on disk. Without this, we would need to bump the schema version, which
would lead to issues when performing the previously described migration.

* Source/WebKit/UIProcess/Extensions/Cocoa/_WKWebExtensionDeclarativeNetRequestSQLiteStore.mm:
(-[_WKWebExtensionDeclarativeNetRequestSQLiteStore initWithUniqueIdentifier:storageType:directory:usesInMemoryDatabase:]):

Canonical link: https://commits.webkit.org/276033@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