Re: [whatwg/storage] Support obtaining a StorageKey from an environment. (Fixes #137) (PR #138)

@annevk commented on this pull request.

Looks good modulo formatting nits.

> + <li><p>Let <var>origin</var> be <var>environment</var>'s
+ <a for="environment settings object">origin</a> if <var>environment</var> is an <a>environment
+ settings object</a> and otherwise <var>environment</var>'s <a for=environment>creation URL</a>'s
+ <a for=url>origin</a>.

```suggestion
 <li><p>Let <var>origin</var> be <var>environment</var>'s
 <a for="environment settings object">origin</a> if <var>environment</var> is an 
 <a>environment settings object</a>; otherwise <var>environment</var>'s 
 <a for=environment>creation URL</a>'s <a for=url>origin</a>.
```

>  
- <li><p>Return <var>key</var>.
+ <li>Return a <a>tuple</a> consisting of <var>origin</var>.

```suggestion
 <li><p>Return a <a>tuple</a> consisting of <var>origin</var>.
```

> +<p>To <dfn export>obtain a storage key for non-storage purposes</dfn>, given an <a for=/>environment</a>
+<var>environment</var>, run these steps:

```suggestion
<p>To <dfn export>obtain a storage key for non-storage purposes</dfn>, given an 
<a for=/>environment</a> <var>environment</var>, run these steps:
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/storage/pull/138#pullrequestreview-897307389
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/storage/pull/138/review/897307389@github.com>

Received on Wednesday, 2 March 2022 09:30:12 UTC