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

Issue 2092963002: downloads.query: parse numerical query properties as double, not int. (Closed)

Created:
4 years, 6 months ago by lazyboy
Modified:
4 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

downloads.query: parse numerical query properties as double, not int. In r244404, we changed these from ints to doubles. However, we still seem to parse these through Value::GetAsInteger. This always fails. Change it to use Value::GetAsDouble instead. BUG=617435 Test=See bug description for repro test case. Committed: https://crrev.com/a61f420b0706b67e305cd98d0f59da32d81d0cc0 Cr-Commit-Position: refs/heads/master@{#402332}

Patch Set 1 #

Patch Set 2 : add test #

Patch Set 3 : add one more edge case test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -23 lines) Patch
M chrome/browser/download/download_query.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/download/download_query.cc View 5 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/download/download_query_unittest.cc View 1 2 4 chunks +79 lines, -9 lines 0 comments Download
A chrome/browser/extensions/api/downloads/downloads_api_unittest.cc View 1 chunk +123 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
lazyboy
4 years, 6 months ago (2016-06-24 00:26:50 UTC) #3
lazyboy
+asanka for chrome/browser/download/
4 years, 6 months ago (2016-06-24 00:28:19 UTC) #5
asargent_no_longer_on_chrome
lgtm
4 years, 6 months ago (2016-06-24 20:32:19 UTC) #6
asanka
On 2016/06/24 at 00:28:19, lazyboy wrote: > +asanka for chrome/browser/download/ LGTM, but didn't this require ...
4 years, 5 months ago (2016-06-27 15:28:47 UTC) #7
lazyboy
On 2016/06/27 15:28:47, asanka wrote: > On 2016/06/24 at 00:28:19, lazyboy wrote: > > +asanka ...
4 years, 5 months ago (2016-06-27 17:32:38 UTC) #8
asanka
On 2016/06/27 at 17:32:38, lazyboy wrote: > On 2016/06/27 15:28:47, asanka wrote: > > On ...
4 years, 5 months ago (2016-06-27 17:51:15 UTC) #9
lazyboy
On 2016/06/27 17:51:15, asanka wrote: > On 2016/06/27 at 17:32:38, lazyboy wrote: > > On ...
4 years, 5 months ago (2016-06-27 20:47:58 UTC) #10
asanka
On 2016/06/27 at 20:47:58, lazyboy wrote: > On 2016/06/27 17:51:15, asanka wrote: > > On ...
4 years, 5 months ago (2016-06-27 20:50:26 UTC) #11
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/2092963002/40001
4 years, 5 months ago (2016-06-27 23:16:38 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-06-27 23:48:34 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-06-27 23:51:04 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a61f420b0706b67e305cd98d0f59da32d81d0cc0
Cr-Commit-Position: refs/heads/master@{#402332}

Powered by Google App Engine
This is Rietveld 408576698