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

Issue 143903003: Disable HTTP authentication dialog for XHR with credentials (Closed)

Created:
6 years, 11 months ago by Jens Widell
Modified:
6 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Disable HTTP authentication dialog for XHR with credentials According to the XHR[1] and Fetch[2] specifications, a request made with URL credentials should not trigger the browser's authentication dialog upon authentication failure, but rather return the 401 response. [1] http://xhr.spec.whatwg.org/ [2] http://fetch.spec.whatwg.org/ BUG=31582 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=247117

Patch Set 1 #

Patch Set 2 : add browser tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -0 lines) Patch
M chrome/browser/ui/login/login_prompt_browsertest.cc View 1 1 chunk +179 lines, -0 lines 0 comments Download
A chrome/test/data/login/xhr_with_credentials.html View 1 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/test/data/login/xhr_without_credentials.html View 1 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/child/weburlloader_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Jens Widell
Please take a look, when convenient. A test for this patch would of course be ...
6 years, 11 months ago (2014-01-21 11:28:25 UTC) #1
darin (slow to review)
On 2014/01/21 11:28:25, Jens Lindström wrote: > Please take a look, when convenient. > > ...
6 years, 11 months ago (2014-01-23 23:37:14 UTC) #2
Jens Widell
On 2014/01/23 23:37:14, darin wrote: > You may need to use a browser test for ...
6 years, 11 months ago (2014-01-24 13:44:54 UTC) #3
darin (slow to review)
LGTM
6 years, 11 months ago (2014-01-25 07:37:57 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/143903003/50001
6 years, 11 months ago (2014-01-25 07:38:34 UTC) #5
commit-bot: I haz the power
6 years, 11 months ago (2014-01-25 10:32:17 UTC) #6
Message was sent while issue was closed.
Change committed as 247117

Powered by Google App Engine
This is Rietveld 408576698