diff options
author | Matt A. Tobin <email@mattatobin.com> | 2022-10-06 12:07:40 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2022-10-06 12:07:40 -0500 |
commit | 6cdd0210fb14e8a1ed256e934f05f758afc4a6ab (patch) | |
tree | ae810fb774a340b2a3d4a0f8b6b9a68e6423e596 /dom/html/HTMLFormElement.cpp | |
parent | e4ed223f80260aa735a77bc4cfff25b76f3e7a94 (diff) | |
parent | 14f8e3e2e95e86a995627add57bf71de7c7edcaa (diff) | |
download | aura-central-6cdd0210fb14e8a1ed256e934f05f758afc4a6ab.tar.gz |
Diffstat (limited to 'dom/html/HTMLFormElement.cpp')
-rw-r--r-- | dom/html/HTMLFormElement.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/html/HTMLFormElement.cpp b/dom/html/HTMLFormElement.cpp index 2fe452bcd..c8bb52637 100644 --- a/dom/html/HTMLFormElement.cpp +++ b/dom/html/HTMLFormElement.cpp @@ -1721,7 +1721,8 @@ HTMLFormElement::GetActionURL(nsIURI** aActionURL, // policy - do *not* consult default-src, see: // http://www.w3.org/TR/CSP2/#directive-default-src rv = csp->Permits(actionURL, nsIContentSecurityPolicy::FORM_ACTION_DIRECTIVE, - true, &permitsFormAction); + true /*aSpecific */, true /* aSendViolationReports */, + &permitsFormAction); NS_ENSURE_SUCCESS(rv, rv); if (!permitsFormAction) { return NS_ERROR_CSP_FORM_ACTION_VIOLATION; |