Input type check comparision should be an ASCII case-insensitive match.

Currently we use unicode-careless matching,which is wrong.
so ASCII -caseless matching is used now.

BUG=728515

Review-Url: https://codereview.chromium.org/2918033003
Cr-Commit-Position: refs/heads/master@{#477786}
4 files changed