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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/img-with-failed-cors-check-fails-to-load-expected.txt

Issue 2276453002: Print the source origin rather than the origin of the target on CORS check failure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reverted accidental expectation change Created 4 years, 3 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: Access to Image at 'http://localhost:8080/security/resources/red2 00x100.png' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. O rigin 'http://127.0.0.1:8000' is therefore not allowed access. 1 CONSOLE ERROR: Access to Image at 'http://localhost:8080/security/resources/red2 00x100.png' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. O rigin 'http://127.0.0.1:8000' is therefore not allowed access.
2 ALERT: PASS: The error event was called. 2 ALERT: PASS: The error event was called.
3 This test passes if the image below does not load. 3 This test passes if the image below does not load.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698