blob: d8e81400b936e4971c6e70f140fd0379d6e13cb7 [file] [log] [blame]
CONSOLE MESSAGE: line 15: submit event fired.
CONSOLE ERROR: line 19: Refused to send form data to 'http://127.0.0.1:8000/navigation/resources/form-target.pl' because it violates the following Content Security Policy directive: "form-action 'none'".
CONSOLE MESSAGE: line 24: securitypolicyviolation event fired.
CONSOLE MESSAGE: line 25: securitypolicyviolation_event.documentURI=http://127.0.0.1:8000/security/contentSecurityPolicy/1.1/form-action-blocked-when-target-blank.html
CONSOLE MESSAGE: line 26: securitypolicyviolation_event.blockedURI=http://127.0.0.1:8000/navigation/resources/form-target.pl
CONSOLE MESSAGE: line 27: securitypolicyviolation_event.violatedDirective=form-action
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.
============== Back Forward List ==============
curr-> http://127.0.0.1:8000/security/contentSecurityPolicy/1.1/form-action-blocked-when-target-blank.html
===============================================