diff --git a/index.html b/index.html index 4ad304fe..f45ac8b4 100644 --- a/index.html +++ b/index.html @@ -7603,20 +7603,20 @@

Add Cookie

  • Try to handle any user prompts with session. -

  • If session's current browsing - context's document element is - a cookie-averse Document object, - return error with error code invalid cookie - domain. - -

  • If cookie name or cookie value is null, - cookie domain is not equal to session's current - browsing context's active document's domain, +

  • If cookie name or cookie value is null, cookie secure only or cookie HTTP only are not boolean types, or cookie expiry time is not an integer type, or it less than 0 or greater than the maximum safe integer, return error with error code invalid argument. +

  • If session's current browsing + context's document element is + a cookie-averse Document object or + cookie domain is not equal to session's current + browsing context's active document's domain, + return error with error code invalid cookie + domain. +

  • Create a cookie in the cookie store associated with the active document's address