Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/request-from-popup-expected.txt

Issue 2419063002: Mention withCredentials attribute in the error message about CORS check failure (Closed)
Patch Set: Addressed #8 Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-basic-allow-access-control-origin-header.cgi. Response t o preflight request doesn't pass access control check: A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when the credentials flag is tr ue. Origin 'http://127.0.0.1:8000' is therefore not allowed access. The credenti als mode of an XMLHttpRequest is controlled by the withCredentials attribute. 1 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-basic-allow-access-control-origin-header.cgi. Response t o preflight request doesn't pass access control check: The value of the 'Access- Control-Allow-Origin' header in the response must not be the wildcard '*' when t he request's credentials mode is 'include'. Origin 'http://127.0.0.1:8000' is th erefore not allowed access. The credentials mode of requests initiated by the XM LHttpRequest is controlled by the withCredentials attribute.
2 Test for bug 4343: XMLHttpRequest doesn't work in a JavaScript-created window. 2 Test for bug 4343: XMLHttpRequest doesn't work in a JavaScript-created window.
3 3
4 SUCCESS 4 SUCCESS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698