Cancel client auth requests when not promptable.
Currently they hang (holding the cache lock) or crash. This plumbs
through a dedicated delegate interface. If the delegate is destroyed with
no notification, the request is aborted. This is distinct from
affirmatively continuing with no certificat (what you get from pressing
cancel). This is extremely bizarre UI, but this CL does not attempt to
address the existing UI being odd.
This fixes the following:
- Closing a tab with a client auth prompt acts as if you affirmatively selected
to continue without a cert.
- A SharedWorker requesting client auth hangs the request.
- Hitting client auth in an extension background page crashes.
BUG=417092,410967
Review URL: https://codereview.chromium.org/859213006
Cr-Commit-Position: refs/heads/master@{#320117}
45 files changed