Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update incorrect "required" attrs #31

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,15 @@ spec:dom; type:interface; text:Document
USVString domain;
USVString path;
boolean secure;
required USVString value;
USVString value;
};
</pre>

A {{CookieInit}} is a generic object that can be used to define a new cookie.
You can set the following fields:
<ul>
<li><dfn for='CookieInit' dict-member>name</dfn> is the key value in the
key value pairing for cookies. Because of backwards compatibility, it
is not required.</li>
key value pairing for cookies. Because of backwards compatibility.</li>
<li><dfn for='CookieInit' dict-member>expires</dfn> is an optional string
value of a <a href='https://tools.ietf.org/html/rfc1123'>RFC 1123 Date</a>, pursuant to <a href='https://tools.ietf.org/html/rfc6265#section-4.1.1'>RFC 6265§4.1.1</a></li>
<li><dfn for='CookieInit' dict-member>maxAge</dfn> is an optional numeric
Expand All @@ -66,8 +65,8 @@ spec:dom; type:interface; text:Document
attribute that, when true, signals that the cookie can only be transmitted
over "secure" protocols, as defined by the user agent. pursuant to
<a href='https://tools.ietf.org/html/rfc6265#section-5.4'>RFC 6265§5.4</a>, subsection 1</li>
<li><dfn for='CookieInit' dict-member>value</dfn> is the only required
attribute. It is a string, as defined as a cookie-value in <a href='https://tools.ietf.org/html/rfc6265'>RFC 6265</a></li>
<li><dfn for='CookieInit' dict-member>value</dfn> is a string, as defined
as a cookie-value in <a href='https://tools.ietf.org/html/rfc6265'>RFC 6265</a></li>
</ul>
</section>

Expand Down