• jww's avatar
    Update cookie value and attribute setting behavior to match other UAs · 03e6ff8c
    jww authored
    This is an attempt to bring Chrome's cookie behavior in line with the
    majority of other major UAs, and thus are de facto standards. The
    specific updates are:
      1. An empty domain attribute value should be ignored as a
         non-attribute rather than setting an empty attribute value.
      2. An empty cookie line (or a cookie line with ignored characters)
         should be treated as setting an empty value for the empty-key.
    
    BUG=601786
    
    Review-Url: https://codereview.chromium.org/2246613003
    Cr-Commit-Position: refs/heads/master@{#412608}
    03e6ff8c
parsed_cookie.h 6.55 KB