Index: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
index ebc7cf94c16b190ec6f153a09aa62f44028953a9..3104ef644f480bd863dbb5330586ba7e67672aef 100644 |
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
@@ -530,11 +530,6 @@ void XMLHttpRequest::setWithCredentials(bool value, ExceptionState& exceptionSta |
return; |
} |
- // FIXME: According to XMLHttpRequest Level 2 we should throw InvalidAccessError exception here. |
- // However for time being only print warning message to warn web developers. |
- if (!m_async) |
- Deprecation::countDeprecation(getExecutionContext(), UseCounter::SyncXHRWithCredentials); |
- |
m_includeCredentials = value; |
} |