summaryrefslogtreecommitdiff
path: root/netwerk
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-31 07:02:39 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-07-31 07:02:39 +0200
commit9e91804a7ac273816afe296c660025ecf9c79cde (patch)
treeb92a0167a8fd794c73c583df985a850adf1b35e3 /netwerk
parent43cebecade19978f231253b221cb36bc7039661b (diff)
downloaduxp-9e91804a7ac273816afe296c660025ecf9c79cde.tar.gz
Fixed misleading console error message for multiple CORS headers
Diffstat (limited to 'netwerk')
-rw-r--r--netwerk/protocol/http/nsCORSListenerProxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netwerk/protocol/http/nsCORSListenerProxy.cpp b/netwerk/protocol/http/nsCORSListenerProxy.cpp
index c2a6243305..b9355c82bf 100644
--- a/netwerk/protocol/http/nsCORSListenerProxy.cpp
+++ b/netwerk/protocol/http/nsCORSListenerProxy.cpp
@@ -577,7 +577,7 @@ nsCORSListenerProxy::CheckRequestApproved(nsIRequest* aRequest)
// check for duplicate headers
rv = http->VisitOriginalResponseHeaders(visitor);
if (NS_FAILED(rv)) {
- LogBlockedRequest(aRequest, "CORSAllowOriginNotMatchingOrigin", nullptr);
+ LogBlockedRequest(aRequest, "CORSMultipleAllowOriginNotAllowed", nullptr);
return rv;
}