Treat exact domain match cookies on public suffixes as host cookies.

Historically, we've rejected any cookie with a `domain` attribute for
hosts that we treat as public suffixes. This patch loosens that stance
by treating cookies whose domain attribute exactly matches the host as
host cookies.

This matches the language in step 5 of section 5.3 of RFC 6265
(https://tools.ietf.org/html/rfc6265#section-5.3), and
matches both Firefox and IE's behavior.

BUG=56211,551906
R=jochen@chromium.org,mmenke@chromium.org

Review URL: https://codereview.chromium.org/1414603010

Cr-Commit-Position: refs/heads/master@{#358523}
3 files changed