Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/form-action-src-blocked-expected.txt

Issue 2487973004: Enforce form-action CSP even when form.target is present. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: Refused to send form data to 'http://127.0.0.1:8000/navigation/re sources/form-target.pl' because it violates the following Content Security Polic y directive: "form-action 'none'". 1 CONSOLE MESSAGE: line 15: submit event fired.
2 CONSOLE ERROR: line 19: Refused to send form data to 'http://127.0.0.1:8000/navi gation/resources/form-target.pl' because it violates the following Content Secur ity Policy directive: "form-action 'none'".
2 3
4 CONSOLE MESSAGE: line 24: securitypolicyviolation event fired.
5 CONSOLE MESSAGE: line 25: securitypolicyviolation_event.documentURI=http://127.0 .0.1:8000/security/contentSecurityPolicy/1.1/form-action-src-blocked.html
6 CONSOLE MESSAGE: line 26: securitypolicyviolation_event.blockedURI=http://127.0. 0.1:8000/navigation/resources/form-target.pl
7 CONSOLE MESSAGE: line 27: securitypolicyviolation_event.violatedDirective=form-a ction
3 8
4 Tests that blocking form actions works correctly. If this test passes, you will see a console error, and will not see a page indicating a form was POSTed. 9 Tests that blocking form actions works correctly. If this test passes, you will see a console error, and will not see a page indicating a form was POSTed.
5 10
6 ============== Back Forward List ============== 11 ============== Back Forward List ==============
7 curr-> http://127.0.0.1:8000/security/contentSecurityPolicy/1.1/form-action-src -blocked.html 12 curr-> http://127.0.0.1:8000/security/contentSecurityPolicy/1.1/form-action-src -blocked.html
8 =============================================== 13 ===============================================
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698