PlzNavigate: Only one of the CSP is reported when several are infringed. |
||
Issue descriptionWith PlzNavigate(--enable-browser-side-navigation), only the first infringed CSP is reported. There is a regression in: TEST=external/wpt/content-security-policy/frame-src/frame-src-redirect.html The fix looks very easy to do. I will work on it.
,
May 22 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/2c1e5408c1f8e69ae1891edb22a8502b13880846 commit 2c1e5408c1f8e69ae1891edb22a8502b13880846 Author: arthursonzogni <arthursonzogni@chromium.org> Date: Mon May 22 15:33:50 2017 PlzNavigate: Fix "Only one CSP is reported instead of several". This CL makes that every infringed policy are reported instead of the infringed first one. One unit test is added as well. TEST=external/wpt/content-security-policy/frame-src/frame-src-redirect.html BUG= 723602 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_browser_side_navigation_rel;master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2893613002 Cr-Commit-Position: refs/heads/master@{#473580} [modify] https://crrev.com/2c1e5408c1f8e69ae1891edb22a8502b13880846/content/common/content_security_policy/content_security_policy_unittest.cc [modify] https://crrev.com/2c1e5408c1f8e69ae1891edb22a8502b13880846/content/common/content_security_policy/csp_context.cc [modify] https://crrev.com/2c1e5408c1f8e69ae1891edb22a8502b13880846/content/common/content_security_policy/csp_context_unittest.cc [modify] https://crrev.com/2c1e5408c1f8e69ae1891edb22a8502b13880846/third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation
,
May 22 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, May 22 2017