[DNR] Add priority checking for allow rules overriding modifyHeaders
This CL adds priority checking between matching modifyHeaders and allow/ allowAllRequests rules in an extension. Currently, if there is a matching allow/allowAllRequests rule, it will override any removeHeaders rules since removeHeaders rules don't have priority. Since modifyHeaders rules have priority, within an extension, the matching allow/allowAllRequests rule with the highest priority should override modifyHeaders rules with equal or lesser priority. Bug: 947591 Change-Id: Ifc8e4e18ea1d33811d4458574e474603cea44461 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2172640 Commit-Queue: Kelvin Jiang <kelvinjiang@chromium.org> Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#769940}
Showing
Please register or sign in to comment