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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/access-control-sandboxed-iframe-denied-expected.txt

Issue 1745083002: CORS-RFC1918: Force preflights for external requests in DocumentThreadableLoader. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test. Created 4 years, 7 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: Synchronous XMLHttpRequest on the main thread is deprecated bec ause of its detrimental effects to the end user's experience. For more help, che ck https://xhr.spec.whatwg.org/. 1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated bec ause of its detrimental effects to the end user's experience. For more help, che ck https://xhr.spec.whatwg.org/.
2 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-sandboxed-iframe-denied.cgi. No 'Access-Control-Allow-Or igin' header is present on the requested resource. Origin 'null' is therefore no t allowed access. 2 CONSOLE ERROR: XMLHttpRequest cannot load http://127.0.0.1:8000/xmlhttprequest/r esources/access-control-sandboxed-iframe-denied.cgi. Response to preflight reque st doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed acces s.
3 This test verifies that sandboxed iframe does not have XmlHttpRequest access to its server. It will print "PASS" on success. 3 This test verifies that sandboxed iframe does not have XmlHttpRequest access to its server. It will print "PASS" on success.
4 4
5 5
6 6
7 -------- 7 --------
8 Frame: '<!--framePath //<!--frame0-->-->' 8 Frame: '<!--framePath //<!--frame0-->-->'
9 -------- 9 --------
10 PASS: Exception thrown. Sandboxed iframe XHR access was denied in 'send'. [Faile d to execute 'send' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/x mlhttprequest/resources/access-control-sandboxed-iframe-denied.cgi'.]. 10 PASS: Exception thrown. Sandboxed iframe XHR access was denied in 'send'. [Faile d to execute 'send' on 'XMLHttpRequest': Failed to load 'http://127.0.0.1:8000/x mlhttprequest/resources/access-control-sandboxed-iframe-denied.cgi'.].
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698