DNR: Show error for incorrect format of "rule_resources" key in manifest
This CL adds an error message to be shown when the DNR extension fails to load because the "rule_resources" in the manifest is not specified as a list of resource(s). This CL also updates PopulateItem util functions by removing the redundant checks to verify that the input is of dictionary type because that is verified by the Populate function that they call. Bug: 1105098 Change-Id: I94efca130f2c1937afd36e08f5efc4308dfbe761 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2297208 Commit-Queue: Utkarsh Patankar <utkpat@microsoft.com> Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Reviewed-by:
Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#791325}
Showing
Please register or sign in to comment