Skip to content

Define 'max length' and 'max duration' normatively #46

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

Merged
merged 3 commits into from
Oct 22, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Define 'max length' and 'max duration' normatively
Mitigates fingerprinting and tracking vectors that rely on
inconsistencies across devices per W3C Security review
recommendation:

w3c/security-request#71

Note: max duration is expressed in milliseconds.
  • Loading branch information
anssiko committed Oct 10, 2024
commit 23e6347c1cd19b50d9c356fefb6f1800330868f1
6 changes: 2 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@

  • Let max length be an implementation-dependent maximum
  • length of pattern.
  • Let max length have the value 10.
  • If the length of a pattern is greater than max length an
    implementation of this API could consider breaking the request
    Expand All @@ -170,8 +169,7 @@

    point.
  • Let max duration be an implementation-dependent maximum
  • duration for a single vibration entry in a pattern.
  • Let max duration have the value 10000.
  • For each entry in pattern whose value is greater than
  • max duration, set the entry's value to max
    Expand Down