CSP: Give actionnable error for plugin-type empty.
Users wanting to prevent plugins to be used were providing an empty list of plugin type to the 'plugin-types' directive. As a result, they were getting a console error, despite getting the intended behavior. It was not clear to the user what was wrong. Users should use object-src: 'none' instead. This patch reflects this into the error message. Bug: 1111546 Fixed: 1111546 Change-Id: I64a266582e33fa3417293ebfdb2e6bf87e08578e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2584943 Auto-Submit: Arthur Sonzogni <arthursonzogni@chromium.org> Commit-Queue: Mike West <mkwst@chromium.org> Reviewed-by:Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#836552}
Showing
Please register or sign in to comment