Add [TypeChecking=Interface] to Range interface

All functions already threw exceptions for invalid argument values, but
DOMException exceptions instead of TypeError exceptions.

Throwing TypeError exceptions matches Firefox's behavior.

BUG=462561

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

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