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

Issue 2673363003: Don't access .spec on a !is_valid PUSH_PROMISE URL. (Closed)

Created:
3 years, 10 months ago by Maks Orlovich
Modified:
3 years, 10 months ago
Reviewers:
Bence
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

Don't access .spec on a !is_valid PUSH_PROMISE URL. This avoids a DCHECK, and also logs the failing URL, rather than "" (the fallback behavior in the method's non-debug build). BUG=688004 Review-Url: https://codereview.chromium.org/2673363003 Cr-Commit-Position: refs/heads/master@{#448708} Committed: https://chromium.googlesource.com/chromium/src/+/ab1d1c1eb4095b86642845b826e6c43a1204be2a

Patch Set 1 #

Patch Set 2 : comment formatting tweak #

Total comments: 3

Patch Set 3 : Factor out some common things, check rv of wait in the new test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -85 lines) Patch
M net/spdy/spdy_network_transaction_unittest.cc View 1 2 5 chunks +65 lines, -82 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (12 generated)
Maks Orlovich
(I am not sure if behavior change wrt to logging is beneficial, but it certainly ...
3 years, 10 months ago (2017-02-06 19:22:31 UTC) #4
Bence
LGTM. https://codereview.chromium.org/2673363003/diff/20001/net/spdy/spdy_network_transaction_unittest.cc File net/spdy/spdy_network_transaction_unittest.cc (right): https://codereview.chromium.org/2673363003/diff/20001/net/spdy/spdy_network_transaction_unittest.cc#newcode2893 net/spdy/spdy_network_transaction_unittest.cc:2893: NormalSpdyTransactionHelper helper(CreateGetRequest(), DEFAULT_PRIORITY, On 2017/02/06 19:22:31, morlovich1 wrote: ...
3 years, 10 months ago (2017-02-06 20:48:48 UTC) #7
Maks Orlovich
PTAL --- did a simple refactor, which also included the missing |rv| test.
3 years, 10 months ago (2017-02-07 15:36:29 UTC) #10
Bence
LGTM, nice refactor, thank you!
3 years, 10 months ago (2017-02-07 19:49:40 UTC) #13
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/2673363003/40001
3 years, 10 months ago (2017-02-07 19:54:23 UTC) #15
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 20:01:02 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/ab1d1c1eb4095b86642845b826e6...

Powered by Google App Engine
This is Rietveld 408576698