@@ -438,24 +438,26 @@ evaluating quotas.
438
438
439
439
<h2 id=ui-guidelines>User Interface Guidelines</h2>
440
440
441
- <p> User agents should not distinguish between network state and <a> storage</a> in their user
442
- interface. Instead user agents should offer users the ability to remove all storage for each group
443
- of <a>schemelessly same site</a> <a for=/>origins</a> . This ensures to some extent that network
444
- state cannot be used to revive <a> storage</a> . This also reduces the amount users need to know about
445
- the different ways in which websites can store data.
441
+ <p> User agents should not distinguish between network state and storage in their user interface.
442
+ Instead user agents should offer users the ability to remove all storage for each group of
443
+ <a>schemelessly same site</a> <a for=/>origins</a> . This ensures to some extent that network state
444
+ cannot be used to revive storage. This also reduces the amount users need to know about the
445
+ different ways in which websites can store data.
446
446
<!-- To some extent, since HTTP ETag... And also, permissions/credentials, maybe? -->
447
447
448
448
<p> Credentials should be separated as they contain data the user might not be able to revive, such
449
449
as an autogenerated password. Permissions are best separated too to avoid inconveniencing the user.
450
450
Credentials and permissions are also somewhat easier to understand and differentiate for users from
451
- network state and <a> storage</a> .
451
+ network state and storage.
452
452
453
453
454
454
<h3 id=storage-pressure>Storage Pressure</h3>
455
455
456
456
<p> When the user agent notices it comes under storage pressure and it cannot free up sufficient
457
- space by clearing network state and <a>non-persistent buckets</a> within <a>storage</a> , then the
458
- user agent should alert the user and offer a way to clear <a>persistent buckets</a> .
457
+ space by clearing network state, <a>session storage buckets</a> , and <a>local storage buckets</a>
458
+ whose <a for="local storage bucket">mode</a> is "<code> best-effort</code> ", then the user agent
459
+ should inform the user and offer a way to clear the remaining <a>local storage buckets</a> , i.e.,
460
+ those whose <a for="local storage bucket">mode</a> is "<code> persistent</code> ".
459
461
460
462
461
463
@@ -499,7 +501,7 @@ dictionary StorageEstimate {
499
501
<li><p> Let <var> shelf</var> be the result of running <a>obtain a local storage shelf</a> with
500
502
<a>this</a> 's <a>relevant settings object</a> .
501
503
502
- <li><p> If <var> shelf</var> is a failure, then reject <var> promise</var> with a {{TypeError}} .
504
+ <li><p> If <var> shelf</var> is failure, then reject <var> promise</var> with a {{TypeError}} .
503
505
504
506
<li>
505
507
<p> Otherwise, run these steps <a>in parallel</a> :
@@ -526,7 +528,7 @@ dictionary StorageEstimate {
526
528
<li><p> Let <var> shelf</var> be the result of running <a>obtain a local storage shelf</a> with
527
529
<a>this</a> 's <a>relevant settings object</a> .
528
530
529
- <li><p> If <var> shelf</var> is a failure, then reject <var> promise</var> with a {{TypeError}} .
531
+ <li><p> If <var> shelf</var> is failure, then reject <var> promise</var> with a {{TypeError}} .
530
532
531
533
<li>
532
534
<p> Otherwise, run these steps <a>in parallel</a> :
@@ -572,7 +574,7 @@ dictionary StorageEstimate {
572
574
<li><p> Let <var> shelf</var> be the result of running <a>obtain a local storage shelf</a> with
573
575
<a>this</a> 's <a>relevant settings object</a> .
574
576
575
- <li><p> If <var> shelf</var> is a failure, then reject <var> promise</var> with a {{TypeError}} .
577
+ <li><p> If <var> shelf</var> is failure, then reject <var> promise</var> with a {{TypeError}} .
576
578
577
579
<li>
578
580
<p> Otherwise, run these steps <a>in parallel</a> :
0 commit comments