• Tarun Bansal's avatar
    Skip cookie check for origins when sending client hints · a0c1fc31
    Tarun Bansal authored
    Skip cookie check for origins when sending client hints.
    The cookie check was initially added when there was plan to
    allow 3rd party origins to request client hints.
    Since client hints are now
    restricted to only first party origins, and client hints are
    already disabled for origins that do not have JavaScript permissions,
    this cookie check is considered redundant. Note that cookie check is not
    required by the fetch or client hints spec either.
    
    Cq-Include-Trybots: luci.chromium.try:linux_mojo
    Change-Id: I080fa5257abba15724559a39b4b73ac4f2e12e3e
    Bug: 891370
    Reviewed-on: https://chromium-review.googlesource.com/c/1253215Reviewed-by: default avatarRyan Sturm <ryansturm@chromium.org>
    Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
    Commit-Queue: Tarun Bansal <tbansal@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#596243}
    a0c1fc31
client_hints_browsertest.cc 61.7 KB