CookieStore: change set() to use CookieInit
Per TAG review discussion [1], this change updates the set() method as follows: Promise<void> set(USVString name, USVString value); Promise<void> set(CookieInit cookieInit); dictionary CookieInit { required USVString name; required USVString value; USVString? domain = null; USVString path = "/"; DOMTimeStamp? expires = null; CookieSameSite sameSite = "strict"; }; [1] https://github.com/WICG/cookie-store/pull/141 Bug: 1087580 Change-Id: Ic22ae0bc7dfc3df71ac849b9acd894316fe01377 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2220556Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Victor Costan <pwnall@chromium.org> Commit-Queue: Ayu Ishii <ayui@chromium.org> Cr-Commit-Position: refs/heads/master@{#779365}
Showing
Please register or sign in to comment