-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1585682 [wpt PR 19467] - [sensors] Round off Ambient Light Sensor…
… readouts to the nearest 50 Lux., a=testonly Automatic update from web-platform-tests [sensors] Round off Ambient Light Sensor readouts to the nearest 50 Lux. There have been some concerns regarding the precision of readouts from the Ambient Light Sensor. To decrease the entropy, we are rounding off the illuminance value to the nearest 50 Lux to mitigate the known attack vectors as summarized in [1]. [1] w3c/ambient-light#13 (comment) This CL is based on https://chromium-review.googlesource.com/c/chromium/src/+/1695412 by Rijubrata Bhaumik and myself. Bug: 642731, 606766 Change-Id: I85449bdb835e8486b080fc269938b6c96f000c2a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1834346 Reviewed-by: Reilly Grant <reillygchromium.org> Reviewed-by: Kentaro Hara <harakenchromium.org> Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costaintel.com> Cr-Commit-Position: refs/heads/master{#705486} -- wpt-commits: b5c2b81b664dbf9fccf7316017ada0878fc10fa1 wpt-pr: 19467 UltraBlame original commit: 36a1b8d7d73706d8223e20f47649db4e8741d20f
- Loading branch information
Showing
2 changed files
with
168 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters