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

Issue 1229143006: Enforce restricted precision of the Battery Status API level attribute (Closed)

Created:
5 years, 5 months ago by timvolodine
Modified:
5 years, 3 months ago
CC:
blink-reviews, mlamouri+watch-blink_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Enforce restricted precision of the Battery Status API level attribute Make sure to provide the level attribute with no more than 2 digits of precision. This is to avoid the possibility of fingerprinting and to provide consistent behavior across platforms. BUG=507326 Committed: https://crrev.com/637776d1183dd286f040349341e1881023851ef9 git-svn-id: svn://svn.chromium.org/blink/trunk@199517 bbb929c8-8fbe-4397-9dbb-9b2b20218538

Patch Set 1 #

Patch Set 2 : no-find-copies #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -1 line) Patch
A LayoutTests/battery-status/restricted-level-precision.html View 1 chunk +40 lines, -0 lines 0 comments Download
A LayoutTests/battery-status/restricted-level-precision-expected.txt View 1 1 chunk +11 lines, -0 lines 0 comments Download
M Source/modules/battery/BatteryDispatcher.cpp View 2 chunks +20 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 15 (3 generated)
timvolodine
5 years, 5 months ago (2015-07-10 12:08:36 UTC) #2
timvolodine
battre@: does this patch look ok to you?
5 years, 5 months ago (2015-07-14 11:14:23 UTC) #3
battre
LGTM from my perspective but I have no experience with layout tests. Would be good ...
5 years, 5 months ago (2015-07-14 11:53:46 UTC) #4
timvolodine
thanks Dominic, adding mlamouri@ to take a look as well.
5 years, 5 months ago (2015-07-14 17:39:02 UTC) #6
mlamouri (slow - plz ping)
I think it would be better to enforce that the backend sends only 1% granularity ...
5 years, 5 months ago (2015-07-16 10:47:39 UTC) #7
timvolodine
On 2015/07/16 10:47:39, Mounir Lamouri wrote: > I think it would be better to enforce ...
5 years, 5 months ago (2015-07-24 15:29:23 UTC) #8
battre
On 2015/07/24 15:29:23, timvolodine wrote: > On 2015/07/16 10:47:39, Mounir Lamouri wrote: > > I ...
5 years, 5 months ago (2015-07-24 15:33:48 UTC) #9
timvolodine
On 2015/07/24 15:33:48, battre wrote: > On 2015/07/24 15:29:23, timvolodine wrote: > > On 2015/07/16 ...
5 years, 4 months ago (2015-07-27 15:19:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1229143006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1229143006/20001
5 years, 4 months ago (2015-07-27 15:20:45 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://src.chromium.org/viewvc/blink?view=rev&revision=199517
5 years, 4 months ago (2015-07-27 16:30:41 UTC) #13
mlamouri (slow - plz ping)
post-fact lgtm, I was on holidays, sorry.
5 years, 4 months ago (2015-08-05 08:55:50 UTC) #14
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 11:48:49 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/637776d1183dd286f040349341e1881023851ef9

Powered by Google App Engine
This is Rietveld 408576698