Add ConsoleMessage to IsFeatureEnabled and ReportFeaturePolicyViolation
Report all feature policy violations to the inspector console. This log message is generated at the same time that a report would be sent to the ReportingAPI. By default, a generic message is logged, but the methods will accept a ConsoleMessage object which will be used in its place if the FP check determines that use of the feature is not allowed. Bug: 661280 Change-Id: Icf2e89e3e6e582480b809b64edfa5832a836ebac Reviewed-on: https://chromium-review.googlesource.com/c/1257545 Commit-Queue: Ian Clelland <iclelland@chromium.org> Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#600004}
Showing
Please register or sign in to comment