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

Issue 21907006: Fix invalid parsing of cookie in Web request helpers. (Closed)

Created:
7 years, 4 months ago by etienneb
Modified:
7 years, 4 months ago
Reviewers:
vabr (Chromium), battre
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Fix invalid parsing of cookie in Web request helpers. This issue was found by a linter. The while condition was always false. Thus, the parsing do not move to the end of "...". There is no unittest for this class? Add unittest from: https://codereview.chromium.org/22156003/ R=battre@chromium.org BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215642

Patch Set 1 #

Patch Set 2 : fix coding style. #

Total comments: 2

Patch Set 3 : fix unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M chrome/browser/extensions/api/web_request/web_request_api_helpers.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_api_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
etienneb
PTAL.
7 years, 4 months ago (2013-08-02 17:29:59 UTC) #1
battre
https://chromiumcodereview.appspot.com/21907006/diff/13001/chrome/browser/extensions/api/web_request/web_request_api_helpers.cc File chrome/browser/extensions/api/web_request/web_request_api_helpers.cc (right): https://chromiumcodereview.appspot.com/21907006/diff/13001/chrome/browser/extensions/api/web_request/web_request_api_helpers.cc#newcode501 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc:501: ++i; // Skip '"'. Great catch!!! The corresponding unit ...
7 years, 4 months ago (2013-08-05 07:59:50 UTC) #2
vabr (Chromium)
Thanks, etienneb! Vaclav https://chromiumcodereview.appspot.com/21907006/diff/13001/chrome/browser/extensions/api/web_request/web_request_api_helpers.cc File chrome/browser/extensions/api/web_request/web_request_api_helpers.cc (right): https://chromiumcodereview.appspot.com/21907006/diff/13001/chrome/browser/extensions/api/web_request/web_request_api_helpers.cc#newcode501 chrome/browser/extensions/api/web_request/web_request_api_helpers.cc:501: ++i; // Skip '"'. I updated ...
7 years, 4 months ago (2013-08-05 09:18:20 UTC) #3
vabr (Chromium)
And LGTM, although I'm not an OWNER of this. Vaclav
7 years, 4 months ago (2013-08-05 09:20:48 UTC) #4
etienneb
Who is the owner. I bring the modif of this CL https://codereview.chromium.org/22156003/
7 years, 4 months ago (2013-08-05 13:36:34 UTC) #5
etienneb
PTAnL. The unittest is fixed. I think battre@ is an owner.
7 years, 4 months ago (2013-08-05 13:37:54 UTC) #6
battre
LGTM under the condition that the test case fails without the modification of web_request_api_helpers.cc and ...
7 years, 4 months ago (2013-08-05 13:59:29 UTC) #7
vabr (Chromium)
On 2013/08/05 13:59:29, battre wrote: > LGTM under the condition that the test case fails ...
7 years, 4 months ago (2013-08-05 14:16:42 UTC) #8
etienneb
On 2013/08/05 14:16:42, vabr (Chromium) wrote: > On 2013/08/05 13:59:29, battre wrote: > > LGTM ...
7 years, 4 months ago (2013-08-05 14:27:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/etienneb@chromium.org/21907006/21001
7 years, 4 months ago (2013-08-05 14:34:14 UTC) #10
commit-bot: I haz the power
7 years, 4 months ago (2013-08-05 18:22:16 UTC) #11
Message was sent while issue was closed.
Change committed as 215642

Powered by Google App Engine
This is Rietveld 408576698