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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/simple-cross-origin-progress-events-expected.txt

Issue 1018903002: Show deprecation warnings for header values in XHR according to RFC 7230 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 WARNING: isValidHTTPHeaderValue() will be deprecated and will be removed in future.
1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/cross-site-progress-events.cgi. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefo re not allowed access. 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/cross-site-progress-events.cgi. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefo re not allowed access.
2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/cross-site-progress-events.cgi. Response to preflight request doesn't p ass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 3 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/cross-site-progress-events.cgi. Response to preflight request doesn't p ass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
3 Test that upload progress events are not dispatched for simple cross-origin requ ests (i.e. if the listener is set after calling send(), and there are no other r easons to make a preflight request). 4 Test that upload progress events are not dispatched for simple cross-origin requ ests (i.e. if the listener is set after calling send(), and there are no other r easons to make a preflight request).
4 5
5 Test 1: The URL is allowed for cross-origin requests 6 Test 1: The URL is allowed for cross-origin requests
6 onprogress 7 onprogress
7 onload 8 onload
8 Response length: 8388608 9 Response length: 8388608
9 10
10 Test 2: The URL is not allowed for cross-origin requests 11 Test 2: The URL is not allowed for cross-origin requests
11 onprogress 12 onprogress
12 onerror (expected) 13 onerror (expected)
13 Response length: 0 14 Response length: 0
14 15
15 Test 3: The URL is not allowed for cross-origin requests and at least one upload event is listened for before doing the send. 16 Test 3: The URL is not allowed for cross-origin requests and at least one upload event is listened for before doing the send.
16 upload.onloadstart 17 upload.onloadstart
17 upload.onprogress 18 upload.onprogress
18 upload.onerror (expected) 19 upload.onerror (expected)
19 onprogress 20 onprogress
20 onerror (expected) 21 onerror (expected)
21 Response length: 0 22 Response length: 0
22 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698