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

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: Updated patch with reset -expected.txt files. Created 6 years, 3 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/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..cf66edf67a6612ad641756a6179b13351b2c3148 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: Avoid synchronous requests as it hampers user experience due to unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warning.
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 Avoid synchronous requests as it hampers user experience due to unresponsiveness of the web page. Refer https://xhr.spec.whatwg.org/#sync-warning. 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