[Bug 27248] New: "throws a TypeError. "


            Bug ID: 27248
           Summary: "throws a TypeError. "
           Product: WHATWG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Encoding
          Assignee: annevk@annevk.nl
          Reporter: d@domenic.me
        QA Contact: sideshowbarker+encodingspec@gmail.com
                CC: mike@w3.org, www-international@w3.org


throws a TypeError. 

In general RangeErrors are better used when only an enumeration should be
allowed and you want to throw when outside that range. See e.g.

You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 5 November 2014 12:21:11 UTC