Skip to content

Commit

Permalink
Ensure all cookies are serialized
Browse files Browse the repository at this point in the history
Closes #970
  • Loading branch information
shs96c authored and AutomatedTester committed Jul 7, 2017
1 parent de0b3ec commit 7943831
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions webdriver-spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -6528,9 +6528,17 @@ <h3>Get All Cookies</h3>

<li><p><a>Handle any user prompts</a>, and return its value if it is an <a>error</a>.

<li><p>Let <var>cookies</var> be a JSON <a>List</a>
containing <a>all associated cookies</a>
of the <a>current browsing context</a>’s <a>active document</a>.
<li><p>Let <var>cookies</var> be a new JSON <a>List</a>.

<li><p>For each <var>cookie</var> in <a>all associated cookies</a> of
the <a>current browsing context</a>'s <a>active document</a>:

<ol>
<li><p>Let <var>serialized cookie</var> be the result
of <a data-lt="serialized cookie">serializing</a> <var>cookie</var>.

<li><p>Append <var>serialized cookie</var> to <var>cookies</var>
</ol>

<li><p>Return <a>success</a> with data <var>cookies</var>.
</ol>
Expand Down

0 comments on commit 7943831

Please sign in to comment.