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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/origin-whitelisting-removal-expected.txt

Issue 585873002: Show a warning when using sync xhr. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated patch with reset -expected.txt files. Created 6 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 WARNING: Avoid synchronous requests as it hampers user experience due to unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warni ng.
1 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
2 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested 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/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested 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/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 4 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
4 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 5 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
5 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 6 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
6 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 7 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
7 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 8 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
8 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access. 9 CONSOLE ERROR: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/r esources/get.txt. No 'Access-Control-Allow-Origin' header is present on the requ ested resource. Origin 'http://127.0.0.1:8000' is therefore not allowed access.
9 Tests the behavior of whitelisting origins and removing them later. 10 Tests the behavior of whitelisting origins and removing them later.
10 11
(...skipping 27 matching lines...) Expand all
38 Testing: source origin: http://127.0.0.1:8000 destination origin: http: allowing subdomains 39 Testing: source origin: http://127.0.0.1:8000 destination origin: http: allowing subdomains
39 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR) 40 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR)
40 PASS: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8000/xmlhttprequest/resources/get.txt'. 41 PASS: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8000/xmlhttprequest/resources/get.txt'.
41 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting PASS) 42 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting PASS)
42 PASS: PASS 43 PASS: PASS
43 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR) 44 Loading: http://localhost:8000/xmlhttprequest/resources/get.txt (expecting NETWO RK_ERR)
44 PASS: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8000/xmlhttprequest/resources/get.txt'. 45 PASS: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8000/xmlhttprequest/resources/get.txt'.
45 46
46 47
47 48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698