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

Unified Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-detached-mixedcontent-no-crash-expected.txt

Issue 995783002: Gracefully handle mixed content checking on detached resource fetches. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/xmlhttprequest/xmlhttprequest-detached-mixedcontent-no-crash-expected.txt
diff --git a/LayoutTests/http/tests/cookies/http-get-cookie-set-in-js-expected.txt b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-detached-mixedcontent-no-crash-expected.txt
similarity index 55%
copy from LayoutTests/http/tests/cookies/http-get-cookie-set-in-js-expected.txt
copy to LayoutTests/fast/xmlhttprequest/xmlhttprequest-detached-mixedcontent-no-crash-expected.txt
index 32f7a9cd1e816067cdae3fed1b8cc220d861b8fa..4d4ba9cbc44eda05fcd6e402e36d925cf8623996 100644
--- a/LayoutTests/http/tests/cookies/http-get-cookie-set-in-js-expected.txt
+++ b/LayoutTests/fast/xmlhttprequest/xmlhttprequest-detached-mixedcontent-no-crash-expected.txt
@@ -1,11 +1,11 @@
+main frame - has 1 onunload handler(s)
CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
-Test that a cookie set using JavaScript can be correctly read by HTTP server
+Performing mixed content checks in a detached setting shouldn't crash.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-checking that the cookie set in javascript can be read by HTTP server
-PASS cookie is 'name=value'.
+PASS xhr.send() threw exception NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://user:pass@127.0.0.1:8000/doesNotExist'..
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698