Test <img crossorigin> handling of 401 responses.

A CORS-enabled fetch to a resource that isn't CORS enabled, but returns a
401 should fail without offering up a UA dialog to supply credentials.

Blink already implements this; add test coverage over <img>.

R=
BUG=239918

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

git-svn-id: svn://svn.chromium.org/blink/trunk@179834 bbb929c8-8fbe-4397-9dbb-9b2b20218538
3 files changed
tree: 7dafd769ce13e0d577b1490d6a9b176184f697bd
  1. third_party/