summaryrefslogtreecommitdiff
path: root/Source/WebCore/xml/XMLHttpRequest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/xml/XMLHttpRequest.cpp')
-rw-r--r--Source/WebCore/xml/XMLHttpRequest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/xml/XMLHttpRequest.cpp b/Source/WebCore/xml/XMLHttpRequest.cpp
index a71c44555..059672b22 100644
--- a/Source/WebCore/xml/XMLHttpRequest.cpp
+++ b/Source/WebCore/xml/XMLHttpRequest.cpp
@@ -478,7 +478,7 @@ void XMLHttpRequest::open(const String& method, const KURL& url, bool async, Exc
return;
}
- if (!scriptExecutionContext()->contentSecurityPolicy()->allowConnectFromSource(url)) {
+ if (!scriptExecutionContext()->contentSecurityPolicy()->allowConnectToSource(url)) {
// FIXME: Should this be throwing an exception?
ec = SECURITY_ERR;
return;