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

Unified Diff: LayoutTests/http/tests/inspector/console-resource-errors-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/inspector/console-resource-errors-expected.txt
diff --git a/LayoutTests/http/tests/inspector/console-resource-errors-expected.txt b/LayoutTests/http/tests/inspector/console-resource-errors-expected.txt
index 61acc670601e1f5e470a22424de2546dac77e6b1..3e00e21a40a98c4e232cd75e23c273f1a871955d 100644
--- a/LayoutTests/http/tests/inspector/console-resource-errors-expected.txt
+++ b/LayoutTests/http/tests/inspector/console-resource-errors-expected.txt
@@ -1,8 +1,10 @@
+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/.
Tests that errors to load a resource cause error messages to be logged to console.
console-resource-errors-iframe.html:3 GET http://127.0.0.1:8000/inspector/missing.css 404 (Not Found) console-message console-error-level
console-resource-errors-iframe.html:4 GET http://127.0.0.1:8000/inspector/non-existent-script.js 404 (Not Found) console-message console-error-level
+console-resource-errors.html:17 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/. console-message console-warning-level
console-resource-errors.html:18 GET http://127.0.0.1:8000/inspector/non-existent-xhr 404 (Not Found)console-resource-errors.html:18 loadXHRconsole-resource-errors.html:10 performActionsVM:1 (anonymous function) InjectedScript._evaluateOn InjectedScript._evaluateAndWrap InjectedScript.evaluate console-message console-error-level
non-existent-iframe.html:1 GET http://127.0.0.1:8000/inspector/non-existent-iframe.html 404 (Not Found) console-message console-error-level

Powered by Google App Engine
This is Rietveld 408576698