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

Issue 11192045: Process only the first Strict-Transport-Security header. (Closed)

Created:
8 years, 2 months ago by palmer
Modified:
8 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, willchan no longer on Chromium
Visibility:
Public.

Description

Process only the first Strict-Transport-Security header. In accordance with the specification. BUG=156147 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165013

Patch Set 1 #

Patch Set 2 : Not complete, problem with the test #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Patch Set 5 : Try not saying 'localhost' too loudly #

Patch Set 6 : Disable the tests in CF. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -1 line) Patch
M chrome_frame/test/net/fake_external_tab.cc View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
A net/data/url_request_unittest/hsts-headers.html View 1 1 chunk +1 line, -0 lines 0 comments Download
A net/data/url_request_unittest/hsts-headers.html.mock-http-headers View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
A net/data/url_request_unittest/hsts-multiple-headers.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A net/data/url_request_unittest/hsts-multiple-headers.html.mock-http-headers View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M net/http/http_util.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M net/url_request/url_request_http_job.cc View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M net/url_request/url_request_test_util.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M net/url_request/url_request_unittest.cc View 1 2 3 4 5 1 chunk +55 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
palmer
Hopefully a quick one for you.
8 years, 2 months ago (2012-10-17 23:47:39 UTC) #1
abarth-chromium
I can haz test?
8 years, 2 months ago (2012-10-18 00:26:08 UTC) #2
palmer
> I can haz test? Any idea where I can find tests for code like ...
8 years, 2 months ago (2012-10-18 00:37:39 UTC) #3
abarth-chromium
Sorry, I don't remember how this stuff is tested. Someone in the net OWNERS file ...
8 years, 2 months ago (2012-10-18 00:38:37 UTC) #4
palmer
Let's rope in rsleevi. :)
8 years, 2 months ago (2012-10-18 00:54:41 UTC) #5
Ryan Sleevi
Wow. There is a depressing lack of (individual/specific) unittests overall in net/url_request. This saddens me. ...
8 years, 2 months ago (2012-10-18 01:01:20 UTC) #6
willchan no longer on Chromium
For URLRequest we generally do regression tests via the TestServer. I agree with Ryan that ...
8 years, 2 months ago (2012-10-18 01:09:58 UTC) #7
palmer
Now with test. PTAL. Thank you, everyone!
8 years, 2 months ago (2012-10-18 19:36:53 UTC) #8
Ryan Sleevi
Overall this test looks good, but a few nits below, and a request for one ...
8 years, 2 months ago (2012-10-18 19:45:34 UTC) #9
palmer
https://codereview.chromium.org/11192045/diff/8002/net/data/url_request_unittest/hsts-headers.html File net/data/url_request_unittest/hsts-headers.html (right): https://codereview.chromium.org/11192045/diff/8002/net/data/url_request_unittest/hsts-headers.html#newcode1 net/data/url_request_unittest/hsts-headers.html:1: This file is boring; all the action's in the ...
8 years, 2 months ago (2012-10-18 21:01:58 UTC) #10
Ryan Sleevi
lgtm
8 years, 2 months ago (2012-10-18 21:06:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/11192045/14001
8 years, 2 months ago (2012-10-18 21:49:07 UTC) #12
commit-bot: I haz the power
Retried try job too often for step(s) chrome_frame_net_tests
8 years, 2 months ago (2012-10-19 03:22:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/11192045/14001
8 years, 2 months ago (2012-10-19 03:30:17 UTC) #14
commit-bot: I haz the power
Retried try job too often for step(s) chrome_frame_net_tests
8 years, 2 months ago (2012-10-19 07:00:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/11192045/14001
8 years, 2 months ago (2012-10-19 17:11:59 UTC) #16
commit-bot: I haz the power
Retried try job too often for step(s) chrome_frame_net_tests
8 years, 2 months ago (2012-10-19 21:37:58 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/11192045/38001
8 years, 1 month ago (2012-10-30 18:58:49 UTC) #18
commit-bot: I haz the power
Presubmit check for 11192045-38001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 1 month ago (2012-10-30 18:59:03 UTC) #19
Chris Palmer
Erik, can I bother you one last time :) for an OWNERS LGTM? Thank you!
8 years, 1 month ago (2012-10-30 19:00:39 UTC) #20
erikwright (departed)
chrome_frame LGTM
8 years, 1 month ago (2012-10-30 19:02:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/11192045/38001
8 years, 1 month ago (2012-10-30 19:04:52 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years, 1 month ago (2012-10-30 19:11:12 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/palmer@chromium.org/11192045/38001
8 years, 1 month ago (2012-10-30 19:52:32 UTC) #24
commit-bot: I haz the power
8 years, 1 month ago (2012-10-30 21:20:48 UTC) #25
Change committed as 165013

Powered by Google App Engine
This is Rietveld 408576698