W3C home > Mailing lists > Public > www-international@w3.org > October to December 2014

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 05 Nov 2014 12:21:09 +0000
To: www-international@w3.org
Message-ID: <bug-27248-4285@http.www.w3.org/Bugs/Public/>

            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

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:38 UTC