Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editorial: Add reading quantization and threshold check algorithms. #77

Merged
merged 2 commits into from
Aug 22, 2022

Commits on Jun 15, 2022

  1. editorial: Add reading quantization and threshold check algorithms.

    Related to w3c#63, which says the granularity of the data exposed by Ambient
    Light Sensors should be specified normatively.
    
    This commit goes a bit further and specifies the two anti-fingerprinting
    measures currently implemented by Chrome -- namely, not only are illuminance
    values rounded but there's also a threshold value check to avoid storing
    values that are too close to the latest reading.
    
    w3c/sensors#429 defines the concepts of "reading quantization algorithm" and
    "threshold check algorithm" that concrete sensors can specify. We specify
    both here, along with some values used by them (based on the current
    Chromium values):
    
    - An "illuminance rounding multiple" of at least 50lx.
    - An "illuminance threshold value" of at least 25lx (half the illuminance
      roundig multiple, to be more precise).
    
    These values are then used in the following algorithms:
    - The "threshold check algorithm" checks that the difference between new and
      current illuminance values is above the illuminance threshold value.
    - The "reading quantization algorithm" rounds up readings to the closest
      multiple of the illuminance rounding multiple.
    rakuco committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    0ee4037 View commit details
    Browse the repository at this point in the history
  2. Add the "tracking-vector" class to the security section.

    This follows
    https://w3c.github.io/fingerprinting-guidance/#mark-fingerprinting and makes
    it clear that this API can increase the fingerprinting surface despite the
    proposed mitigations.
    rakuco committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    44e8b41 View commit details
    Browse the repository at this point in the history