[encoding-tests] Use new RangeError() in encoding tests. (#1764)

This form is used more often.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/1764

Received on Friday, 17 April 2015 10:37:29 UTC