DNR: Impost a limit on the number of declarative rules that an extension can provide. |
|||
Issue descriptionThis should then be implemented in both the Chrome and CWS code.
,
Aug 27
,
Sep 1
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/42ac670f7314a95c31b51819961aa2c3b8c6c835 commit 42ac670f7314a95c31b51819961aa2c3b8c6c835 Author: Karan Bhatia <karandeepb@chromium.org> Date: Sat Sep 01 03:11:23 2018 Declarative Net Request: Limit the no. of rules that an extension can provide. This CL limits the no. of rules that an extension can provide to 30000. If an extension provides more rules than this limit, those rules will be ignored and an install warning will be surfaced to the user upon installation on the extensions page. These won't re-surface once the browser restarts for packed extensions. BUG= 767977 Change-Id: I95c824f4233dd7c0b77393fa817522b9b1c70681 Reviewed-on: https://chromium-review.googlesource.com/1198010 Commit-Queue: Karan Bhatia <karandeepb@chromium.org> Reviewed-by: Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#588257} [modify] https://crrev.com/42ac670f7314a95c31b51819961aa2c3b8c6c835/chrome/browser/extensions/api/declarative_net_request/rule_indexing_unittest.cc [modify] https://crrev.com/42ac670f7314a95c31b51819961aa2c3b8c6c835/extensions/browser/api/declarative_net_request/constants.cc [modify] https://crrev.com/42ac670f7314a95c31b51819961aa2c3b8c6c835/extensions/browser/api/declarative_net_request/constants.h [modify] https://crrev.com/42ac670f7314a95c31b51819961aa2c3b8c6c835/extensions/browser/api/declarative_net_request/utils.cc [modify] https://crrev.com/42ac670f7314a95c31b51819961aa2c3b8c6c835/extensions/common/api/declarative_net_request.idl
,
Sep 5
|
|||
►
Sign in to add a comment |
|||
Comment 1 by karandeepb@chromium.org
, Sep 26 2017