Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bc38d97938269bc4c96c117c9e845b34937c2a6b
      
https://github.com/WebKit/WebKit/commit/bc38d97938269bc4c96c117c9e845b34937c2a6b
  Author: Kiara Rose <[email protected]>
  Date:   2026-04-03 (Fri, 03 Apr 2026)

  Changed paths:
    M 
Source/WebKit/UIProcess/Extensions/WebExtensionDeclarativeNetRequestSQLiteStore.cpp
    M 
Source/WebKit/UIProcess/Extensions/WebExtensionDeclarativeNetRequestSQLiteStore.h

  Log Message:
  -----------
  Confusing error message gets logged after a failed declarativeNetRequest 
operation
https://bugs.webkit.org/show_bug.cgi?id=311444
rdar://174040915

Reviewed by Brian Weinstein and Timothy Hatcher.

We're logging a number instead of the rule type. Convert the storage type enum 
to a string before
logging and constructing the error messages.

* 
Source/WebKit/UIProcess/Extensions/WebExtensionDeclarativeNetRequestSQLiteStore.cpp:
(WebKit::WebExtensionDeclarativeNetRequestSQLiteStore::WebExtensionDeclarativeNetRequestSQLiteStore):
(WebKit::WebExtensionDeclarativeNetRequestSQLiteStore::addRules):
(WebKit::WebExtensionDeclarativeNetRequestSQLiteStore::deleteRules):
(WebKit::WebExtensionDeclarativeNetRequestSQLiteStore::insertRule):
* 
Source/WebKit/UIProcess/Extensions/WebExtensionDeclarativeNetRequestSQLiteStore.h:
(WebKit::toString):

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



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

Reply via email to