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

Issue 2623423002: Add console warning and tests for strict secure cookies.

Created:
3 years, 11 months ago by jww
Modified:
3 years, 5 months ago
Reviewers:
Mike West, mmenke, pfeldman
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add console warning and tests for strict secure cookies. This adds a console warning if the Set-Cookie header is present on an insecure connection to warn that the cookie will be ignored. Also adds LayoutTests to verify this behavior. BUG=568188

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update comment #

Messages

Total messages: 28 (7 generated)
jww
Mike, this is the console warning we mentioned, and some tests. Can you take a ...
3 years, 11 months ago (2017-01-12 06:30:47 UTC) #2
Mike West
This doesn't strike me as hacky; it's very much in line with the existing console ...
3 years, 11 months ago (2017-01-12 07:59:03 UTC) #4
dgozman
Does this happen often? I'm worried about console being spammed with theses messages vs. their ...
3 years, 11 months ago (2017-01-12 21:31:24 UTC) #5
jww
On 2017/01/12 21:31:24, dgozman wrote: > Does this happen often? I'm worried about console being ...
3 years, 11 months ago (2017-01-12 22:38:22 UTC) #6
jww
On 2017/01/12 22:38:22, jww wrote: > On 2017/01/12 21:31:24, dgozman wrote: > > Does this ...
3 years, 11 months ago (2017-01-12 23:53:39 UTC) #7
dgozman
> I lied! We do have data, hoo-ray! We have histograms for cookie source scheme, ...
3 years, 11 months ago (2017-01-13 00:11:38 UTC) #8
jww
On 2017/01/13 00:11:38, dgozman wrote: > > I lied! We do have data, hoo-ray! We ...
3 years, 11 months ago (2017-01-13 00:13:26 UTC) #9
Mike West
On 2017/01/13 at 00:13:26, jww wrote: > On 2017/01/13 00:11:38, dgozman wrote: > > > ...
3 years, 11 months ago (2017-01-13 11:51:14 UTC) #10
jww
+mmenke@, since we care about his opinion on console warnings, cookies, etc.
3 years, 11 months ago (2017-01-16 05:44:06 UTC) #11
mmenke
The message LGTM.
3 years, 11 months ago (2017-01-17 18:45:32 UTC) #13
pfeldman
@mike: it is not just the front-end vs backend. Unless you report if on the ...
3 years, 11 months ago (2017-01-17 19:18:33 UTC) #14
mmenke
On 2017/01/13 11:51:14, Mike West (sloooooow) wrote: > On 2017/01/13 at 00:13:26, jww wrote: > ...
3 years, 11 months ago (2017-01-17 19:28:09 UTC) #15
mmenke
On 2017/01/17 19:28:09, mmenke wrote: > On 2017/01/13 11:51:14, Mike West (sloooooow) wrote: > > ...
3 years, 11 months ago (2017-01-17 19:31:49 UTC) #16
pfeldman
Here is what I think. This warning message is either important or not. If it ...
3 years, 11 months ago (2017-01-17 19:37:29 UTC) #17
jww
On 2017/01/17 19:37:29, pfeldman wrote: > Here is what I think. This warning message is ...
3 years, 11 months ago (2017-01-17 23:51:04 UTC) #18
jww
On 2017/01/17 23:51:04, jww wrote: > On 2017/01/17 19:37:29, pfeldman wrote: > > Here is ...
3 years, 11 months ago (2017-01-18 22:33:02 UTC) #19
mmenke
On 2017/01/18 22:33:02, jww wrote: > On 2017/01/17 23:51:04, jww wrote: > > On 2017/01/17 ...
3 years, 11 months ago (2017-01-18 22:40:17 UTC) #20
Mike West
On 2017/01/18 at 22:40:17, mmenke wrote: > On 2017/01/18 22:33:02, jww wrote: > > On ...
3 years, 11 months ago (2017-01-19 20:29:09 UTC) #21
dgozman
I'm in favor of not landing the warning at all. Looks like nobody feels it's ...
3 years, 11 months ago (2017-01-20 21:59:09 UTC) #22
mmenke
On 2017/01/20 21:59:09, dgozman wrote: > I'm in favor of not landing the warning at ...
3 years, 11 months ago (2017-01-20 22:01:22 UTC) #23
pfeldman
3 years, 11 months ago (2017-01-20 22:32:51 UTC) #24
> My opinion is that it's a tiny amount of technical debt to save developer
time,
> so is worth landing.  There currently just doesn't seem to be a compelling
> argument for a new path from net all the way down the devtools.

Technical debt is not a concern, not reliably delivering a warning is. User
expects warnings to be surfaced after opening devtools. not lgtm.

Powered by Google App Engine
This is Rietveld 408576698