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

Unified Diff: LayoutTests/http/tests/workers/text-encoding-expected.txt

Issue 585873002: Show a warning when using sync xhr. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added needsrebaseline for win_rel. Created 6 years, 1 month 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/http/tests/workers/text-encoding-expected.txt
diff --git a/LayoutTests/http/tests/workers/text-encoding-expected.txt b/LayoutTests/http/tests/workers/text-encoding-expected.txt
index ccc92f250b416484ee8bfab976b4105fd20d9d30..45a92fef033f9720c0530c900eb324c3d87d8ae3 100644
--- a/LayoutTests/http/tests/workers/text-encoding-expected.txt
+++ b/LayoutTests/http/tests/workers/text-encoding-expected.txt
@@ -1,3 +1,4 @@
+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/.
This test verifies handling of text encoding in workers. The behavior matches FF3.1b2 with a single exclusion (see below).
This is what's tested:
- If http header 'Content-Type' with 'charset' specified is on response with worker script or XHR payload, that encoding is used.

Powered by Google App Engine
This is Rietveld 408576698