Refactor AllowTrustedTypePolicy to provide violation information
Previously, AllowTrustedTypePolicy only returned whether the violation should be considered as a type error. Now, an enum is added to report if which type of violation occurred. This enum also gets set in case of a report-only violation (in which case the method returns true). Bug: chromium:1142804 Change-Id: I7f5c53ce30ad9c81ef3e3f5a1ae62234eab5ac53 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2517061Reviewed-by:Andrey Kosyakov <caseq@chromium.org> Reviewed-by:
Andy Paicu <andypaicu@chromium.org> Reviewed-by:
Daniel Vogelheim <vogelheim@chromium.org> Reviewed-by:
Sigurd Schneider <sigurds@chromium.org> Commit-Queue: Alfonso Castaño <alcastano@google.com> Cr-Commit-Position: refs/heads/master@{#827227}
Showing
This diff is collapsed.
Please register or sign in to comment