diff --git a/storage.bs b/storage.bs index 18f7985..619beb0 100644 --- a/storage.bs +++ b/storage.bs @@ -222,6 +222,9 @@ anticipated that some APIs will be applicable to both storage types going
To obtain a storage key for non-storage purposes, given an environment environment, run these steps: +
This algorithm will be removed or updated once the html spec is +modified to store a storage key directly on environment. +
Let origin be environment's origin if environment is an @@ -231,6 +234,29 @@ anticipated that some APIs will be applicable to both storage types going
Return a tuple consisting of origin.
To compute a storage key for an environment settings object, +given an origin origin and an optional +storage key parent-or-outer storage key, run these steps: + +
The parent-or-outer storage key will be used in the future to +compute and propagate additional values in the storage key in the future. +For example, top-level site, the ancestor-chain bit, or anonymous iframe +nonce.
+ +To compute a storage key for an environment, given a +url creation url and an optional storage key +parent storage key, run these steps: + +
To determine whether a storage key A equals storage key B, run these steps: