Changeset 62592 in webkit
- Timestamp:
- Jul 6, 2010 1:51:46 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r62576 r62592 1 2010-07-06 Alexey Proskuryakov <ap@apple.com> 2 3 Not reviewed, fixing a simple copy/paste mistake. 4 5 https://bugs.webkit.org/show_bug.cgi?id=41156 6 Cross origin XMLHttpRequest should log the reason why connection failed 7 8 * http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached-expected.txt: 9 1 10 2010-07-06 Alexey Proskuryakov <ap@apple.com> 2 11 -
trunk/LayoutTests/http/tests/xmlhttprequest/access-control-basic-non-simple-deny-cached-expected.txt
r62576 r62592 1 CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/resources/access-control-basic-non-get-allow.cgi. Request header field Content-Type is not allowed by Access-Control-Allow- Methods response header field.1 CONSOLE MESSAGE: line 1: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/resources/access-control-basic-non-get-allow.cgi. Request header field Content-Type is not allowed by Access-Control-Allow-Headers response header field. 2 2 PASS: Exception thrown. Cross-domain access is not allowed in 'send'. [NETWORK_ERR: XMLHttpRequest Exception 101]. 3 3 -
trunk/WebCore/ChangeLog
r62588 r62592 1 2010-07-06 Alexey Proskuryakov <ap@apple.com> 2 3 Not reviewed, fixing a simple copy/paste mistake. 4 5 https://bugs.webkit.org/show_bug.cgi?id=41156 6 Cross origin XMLHttpRequest should log the reason why connection failed 7 8 Covered by xmlhttprequest/access-control-basic-non-simple-deny-cached.html 9 10 * loader/CrossOriginPreflightResultCache.cpp: 11 (WebCore::CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders): Fix incorrectly 12 copy/pasted header field name. 13 1 14 2010-07-06 Xan Lopez <xlopez@igalia.com> 2 15 -
trunk/WebCore/loader/CrossOriginPreflightResultCache.cpp
r62576 r62592 129 129 for (HTTPHeaderMap::const_iterator it = requestHeaders.begin(); it != end; ++it) { 130 130 if (!m_headers.contains(it->first) && !isOnAccessControlSimpleRequestHeaderWhitelist(it->first, it->second)) { 131 errorDescription = "Request header field " + it->first + " is not allowed by Access-Control-Allow- Methods response header field.";131 errorDescription = "Request header field " + it->first + " is not allowed by Access-Control-Allow-Headers response header field."; 132 132 return false; 133 133 }
Note: See TracChangeset
for help on using the changeset viewer.