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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/failed-auth-expected.txt

Issue 2651943002: Block subresource requests whose URLs include credentials. (Closed)
Patch Set: Test. Created 3 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: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/failed-auth-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/failed-auth-expected.txt b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/failed-auth-expected.txt
index ce349cd6e3e28762930e5b68f0833338a98362eb..1e8a28657a009435165fbff6c1f11ebb2130748a 100644
--- a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/failed-auth-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/failed-auth-expected.txt
@@ -1,8 +1,8 @@
-CONSOLE WARNING: line 30: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
-CONSOLE WARNING: line 40: Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are deprecated, and will be blocked in M59, around June 2017. See https://www.chromestatus.com/feature/5669008342777856 for more details.
+CONSOLE WARNING: line 35: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
+CONSOLE WARNING: line 45: Subresource requests whose URLs contain embedded credentials (e.g. `https://user:pass@host/`) are deprecated, and will be blocked in M59, around June 2017. See https://www.chromestatus.com/feature/5669008342777856 for more details.
Test for bug 13075: XMLHttpRequest with failed authentication should set status to 401.
Sync, no credentials: OK
-Sync, incorrect credentials: OK
+Sync, incorrect credentials: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://badname:passpw@127.0.0.1:8000/xmlhttprequest/resources/basic-auth/basic-auth.php?uid=login2'.
Async, no credentials: OK
Async, incorrect credentials: OK

Powered by Google App Engine
This is Rietveld 408576698