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

Issue 2724703002: Add AltSvcFrameTest for non-empty origin on non-zero frame. (Closed)

Created:
3 years, 9 months ago by Bence
Modified:
3 years, 9 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, bnc+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add AltSvcFrameTest for non-empty origin on non-zero frame. BUG=696653 Review-Url: https://codereview.chromium.org/2724703002 Cr-Commit-Position: refs/heads/master@{#453925} Committed: https://chromium.googlesource.com/chromium/src/+/7b2a21a7ff27c79e88cc5a64cece2890e8aacb1f

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add comment; rename one existing test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -1 line) Patch
M net/spdy/spdy_session_unittest.cc View 1 2 chunks +26 lines, -1 line 0 comments Download

Messages

Total messages: 17 (9 generated)
Bence
Ryan: PTAL. Thank you.
3 years, 9 months ago (2017-03-01 01:50:16 UTC) #4
Ryan Hamilton
lgtm https://codereview.chromium.org/2724703002/diff/1/net/spdy/spdy_session_unittest.cc File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/2724703002/diff/1/net/spdy/spdy_session_unittest.cc#newcode5648 net/spdy/spdy_session_unittest.cc:5648: DoNotProcessAltSvcFrameWithNonEmptyOriginOnNonZeroStream) { What does "OnNonZeroStream" mean here?
3 years, 9 months ago (2017-03-01 03:38:47 UTC) #7
Bence
Thank you. I'm checking this in now, but please let me know if you can ...
3 years, 9 months ago (2017-03-01 12:48:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2724703002/20001
3 years, 9 months ago (2017-03-01 12:48:43 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/7b2a21a7ff27c79e88cc5a64cece2890e8aacb1f
3 years, 9 months ago (2017-03-01 13:28:05 UTC) #14
Ryan Hamilton
https://codereview.chromium.org/2724703002/diff/1/net/spdy/spdy_session_unittest.cc File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/2724703002/diff/1/net/spdy/spdy_session_unittest.cc#newcode5648 net/spdy/spdy_session_unittest.cc:5648: DoNotProcessAltSvcFrameWithNonEmptyOriginOnNonZeroStream) { On 2017/03/01 12:48:31, Bence wrote: > On ...
3 years, 9 months ago (2017-03-01 20:41:53 UTC) #15
Bence
> I suspect I'm missing something, but is there a stream_id in this test? Yes, ...
3 years, 9 months ago (2017-03-02 00:30:07 UTC) #16
Ryan Hamilton
3 years, 9 months ago (2017-03-02 01:12:48 UTC) #17
Message was sent while issue was closed.
On 2017/03/02 00:30:07, Bence wrote:
> > I suspect I'm missing something, but is there a stream_id in this test?
> 
> Yes, the single argument of explicit SpdyAltSvcIR::SpdyAltSvcIR(SpdyStreamId
> stream_id),
> see
>
https://cs.chromium.org/chromium/src/net/spdy/spdy_protocol.h?q=spdyaltsvcir&...,
> called in lines 5629 and 5649 here.

Ah, thanks!  Good point :)

I might be a good idea to do:

foo(/* stream_id */ 1);

or

SpdyStreamId id = 1;
foo(1);

To make the literals more readable.  But whatever! :)

Powered by Google App Engine
This is Rietveld 408576698