Skip to content

Commit 23e6347

Browse files
committed
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.
1 parent 6aaec47 commit 23e6347

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@

144144
li>
145145
ol>
146146
li>
147-
<li>Let <var>max lengthvar> be an implementation-dependent maximum
148-
length of <var>patternvar>.
147+
<li>Let <var>max lengthvar> have the value 10.
149148
<div class='note'>
150149
If the length of a pattern is greater than max length an
151150
implementation of this API could consider breaking the request
@@ -170,8 +169,7 @@

170169
point.
171170
div>
172171
li>
173-
<li>Let <var>max durationvar> be an implementation-dependent maximum
174-
duration for a single vibration entry in a <var>patternvar>.
172+
<li>Let <var>max durationvar> have the value 10000.
175173
li>
176174
<li>For each entry in <var>patternvar> whose value is greater than
177175
<var>max durationvar>, set the entry's value to <var>max

0 commit comments

Comments
 (0)