diff --git a/storage.bs b/storage.bs index 2f983a8..63866c5 100644 --- a/storage.bs +++ b/storage.bs @@ -198,7 +198,8 @@ anticipated that some APIs will be applicable to both storage types going

Storage keys

-

A storage key is an origin. [[!HTML]] +

A storage key is a tuple consisting of an origin +(an origin). [[!HTML]]

This is expected to change; see Client-Side Storage Partitioning. @@ -207,16 +208,27 @@ anticipated that some APIs will be applicable to both storage types going environment, run these steps:

    -
  1. Let key be environment's - origin. +

  2. Let key be the result of running + obtain a storage key for non-storage purposes with environment. -

  3. If key is an opaque origin, then return failure. +

  4. If key's origin is an opaque origin, then return + failure.

  5. If the user has disabled storage, then return failure.

  6. Return key.

+

To obtain a storage key for non-storage purposes, given an environment +settings object environment, run these steps: + +

    +
  1. Let key be a tuple consisting of environment's + origin. + +

  2. Return key. +

+

Storage sheds