forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Network Service: Fix some LoginPromptBrowserTest by adding |do_not_pr…
…ompt_for_login_| flag for URLLoader This CL fixes some LoginPromptBrowserTest by adding a |do_not_prompt_for_login_| flag for URLLoader. It is similar to what ResourceLoader::OnAuthRequired() does. Bug: 783990 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I86d72fcf64429a3d78231ce55fc1bb07359c7caa Reviewed-on: https://chromium-review.googlesource.com/1015742 Commit-Queue: Jun Cai <juncai@chromium.org> Reviewed-by: Matt Menke <mmenke@chromium.org> Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#555653}
- Loading branch information
Jun Cai
authored and
Commit Bot
committed
May 3, 2018
1 parent
45c8104
commit 1d62846
Showing
9 changed files
with
77 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<link rel="icon" type="image/gif" href="/auth-basic/favicon.gif" /> | ||
</head> | ||
<body> | ||
<h1>Has favicon</h1> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...workService/http/tests/inspector-protocol/network/xhr-interception-auth-fail-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Tests interception of an XHR request that fails due to lack of credentials. | ||
Test started | ||
Network agent enabled | ||
Request interception enabled | ||
Page agent enabled | ||
Runtime agent enabled | ||
Network.requestIntercepted ID 1 GET xhr-iframe-auth-fail.html type: Document | ||
allowRequest ID 1 | ||
Network.responseReceived xhr-iframe-auth-fail.html 200 text/html | ||
Network.requestIntercepted ID 2 GET unauthorised.pl type: XHR | ||
allowRequest ID 2 | ||
Network.responseReceived unauthorised.pl 401 text/plain | ||
Page.frameStoppedLoading | ||
xhr.status = 401 | ||
|