@@ -7603,20 +7603,20 @@ <h3><dfn data-lt="adding a cookie">Add Cookie</dfn></h3>
76037603 < li > < p > < a > Try</ a > to < a > handle any user prompts</ a >
76047604 with < var > session</ var > .
76057605
7606- < li > < p > If < var > session</ var > 's < a > current browsing
7607- context</ a > 's < a > document element</ a > is
7608- a < a > cookie-averse < code > Document</ code > object</ a > ,
7609- return < a > error</ a > with < a > error code</ a > < a > invalid cookie
7610- domain</ a > .
7611-
7612- < li > < p > If < a > cookie name</ a > or < a > cookie value</ a > is < a > < code > null</ code > </ a > ,
7613- < a > cookie domain</ a > is not equal to < var > session</ var > 's < a > current
7614- browsing context</ a > 's < a > active document</ a > 's < a > domain</ a > ,
7606+ < li > < p > If < a > cookie name</ a > or < a > cookie value</ a > is < a > < code > null</ code > </ a > ,
76157607 < a > cookie secure only</ a > or < a > cookie HTTP only</ a > are not boolean types,
76167608 or < a > cookie expiry time</ a > is not an integer type, or it less than 0 or greater than
76177609 the < a > maximum safe integer</ a > , return < a > error</ a > with < a > error
76187610 code</ a > < a > invalid argument</ a > .
76197611
7612+ < li > < p > If < var > session</ var > 's < a > current browsing
7613+ context</ a > 's < a > document element</ a > is
7614+ a < a > cookie-averse < code > Document</ code > object</ a > or
7615+ < a > cookie domain</ a > is not equal to < var > session</ var > 's < a > current
7616+ browsing context</ a > 's < a > active document</ a > 's < a > domain</ a > ,
7617+ return < a > error</ a > with < a > error code</ a > < a > invalid cookie
7618+ domain</ a > .
7619+
76207620 < li > < p > < a > Create a cookie</ a > in
76217621 the < a > cookie store</ a > associated with
76227622 the < a > active document</ a > 's < a > address</ a >
0 commit comments