Skip to content

Commit

Permalink
Increase maximum number of dynamic and session rules to 30,000
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=271179
rdar://124967815

Reviewed by Timothy Hatcher.

Increase the limit for the maximum number of dynamic and session rules as discussed
in the in person WECG meeting.

* Source/WebKit/Shared/Extensions/WebExtensionConstants.h:

Canonical link: https://commits.webkit.org/276300@main
  • Loading branch information
kiaraarose committed Mar 18, 2024
1 parent 4f28f24 commit 737de53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebKit/Shared/Extensions/WebExtensionConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ constexpr size_t webExtensionMaxMessageLength = 1024 * 1024 * 64;
// MARK: Declarative Net Request
static constexpr size_t webExtensionDeclarativeNetRequestMaximumNumberOfStaticRulesets = 100;
static constexpr size_t webExtensionDeclarativeNetRequestMaximumNumberOfEnabledRulesets = 50;
static constexpr size_t webExtensionDeclarativeNetRequestMaximumNumberOfDynamicAndSessionRules = 5000;
static constexpr size_t webExtensionDeclarativeNetRequestMaximumNumberOfDynamicAndSessionRules = 30000;

// MARK: Storage
static constexpr double webExtensionUnlimitedStorageQuotaBytes = std::numeric_limits<double>::max();
Expand Down

0 comments on commit 737de53

Please sign in to comment.