|
|
Chromium Code Reviews|
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. |
DescriptionAdd 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. #Messages
Total messages: 17 (9 generated)
The CQ bit was checked by bnc@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
bnc@chromium.org changed reviewers: + rch@chromium.org
Ryan: PTAL. Thank you.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm https://codereview.chromium.org/2724703002/diff/1/net/spdy/spdy_session_unitt... File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/2724703002/diff/1/net/spdy/spdy_session_unitt... net/spdy/spdy_session_unittest.cc:5648: DoNotProcessAltSvcFrameWithNonEmptyOriginOnNonZeroStream) { What does "OnNonZeroStream" mean here?
Thank you. I'm checking this in now, but please let me know if you can think of any improvements I can make in a follow-up. https://codereview.chromium.org/2724703002/diff/1/net/spdy/spdy_session_unitt... File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/2724703002/diff/1/net/spdy/spdy_session_unitt... net/spdy/spdy_session_unittest.cc:5648: DoNotProcessAltSvcFrameWithNonEmptyOriginOnNonZeroStream) { On 2017/03/01 03:38:47, Ryan Hamilton wrote: > What does "OnNonZeroStream" mean here? A stream that has a stream id different from zero. As opposed to "OnZeroStream" in the previous test case, where it means a stream with stream id zero. I can easily rename ZeroStream to StreamZero, but let me know if you can think of a way to improve the name of this test case. Let me at least add a comment with an RFC reference to make it clearer.
The CQ bit was checked by bnc@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from rch@chromium.org Link to the patchset: https://codereview.chromium.org/2724703002/#ps20001 (title: "Add comment; rename one existing test.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 20001, "attempt_start_ts": 1488372514704880,
"parent_rev": "1e466e19d1e65d1a4c4b0e54c744a357ce30d9aa", "commit_rev":
"7b2a21a7ff27c79e88cc5a64cece2890e8aacb1f"}
Message was sent while issue was closed.
Description was changed from ========== Add AltSvcFrameTest for non-empty origin on non-zero frame. BUG=696653 ========== to ========== 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/+/7b2a21a7ff27c79e88cc5a64cece... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/7b2a21a7ff27c79e88cc5a64cece...
Message was sent while issue was closed.
https://codereview.chromium.org/2724703002/diff/1/net/spdy/spdy_session_unitt... File net/spdy/spdy_session_unittest.cc (right): https://codereview.chromium.org/2724703002/diff/1/net/spdy/spdy_session_unitt... net/spdy/spdy_session_unittest.cc:5648: DoNotProcessAltSvcFrameWithNonEmptyOriginOnNonZeroStream) { On 2017/03/01 12:48:31, Bence wrote: > On 2017/03/01 03:38:47, Ryan Hamilton wrote: > > What does "OnNonZeroStream" mean here? > > A stream that has a stream id different from zero. As opposed to "OnZeroStream" > in the previous test case, where it means a stream with stream id zero. I can > easily rename ZeroStream to StreamZero, but let me know if you can think of a > way to improve the name of this test case. > > Let me at least add a comment with an RFC reference to make it clearer. I suspect I'm missing something, but is there a stream_id in this test?
Message was sent while issue was closed.
> 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.
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! :) |
