Add missing FileReader argument typechecking.

If the supplied argument to the readAs*() methods is not a Blob, throw
the required TypeError.

Also, improve the error message used when signalling attempts to
concurrently read from the same FileReader object.

R=
BUG=223762
TEST=fast/files/file-reader-methods-illegal-arguments

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

git-svn-id: svn://svn.chromium.org/blink/trunk@163944 bbb929c8-8fbe-4397-9dbb-9b2b20218538
5 files changed
tree: 295cf39d50474e1e227d0f6296a6287b615c7587
  1. third_party/