This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19921 - Please throw a JavaScript TypeError instead as per bug 19898 "TypeMismatchError" is obsolete
Summary: Please throw a JavaScript TypeError instead as per bug 19898 "TypeMismatchErr...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-09 14:37 UTC by contributor
Modified: 2012-12-07 22:31 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2012-11-09 14:37:58 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#dom-context-2d-drawimage
Complete: http://www.whatwg.org/c#dom-context-2d-drawimage

Comment:
Please throw a JavaScript TypeError instead as per bug 19898
"TypeMismatchError" is obsolete

Posted from: 212.238.236.229 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.16 (KHTML, like Gecko) Chrome/24.0.1305.3 Safari/537.16
Comment 1 Anne 2012-12-05 11:35:35 UTC
The only real problem here is the non-normative prose at this point it seems.
Comment 2 contributor 2012-12-05 21:13:12 UTC
Checked in as WHATWG revision r7569.
Check-in comment: fix old prose
http://html5.org/tools/web-apps-tracker?from=7568&to=7569
Comment 3 Anne 2012-12-05 21:37:58 UTC
You should probably remove the bit about TypeError as well since it's a) just an effect of the IDL and b) a different type of exception compared to the others listed.

Unless the domintro boxes are meant to cover IDL exceptions I don't think we should cover this one.
Comment 4 contributor 2012-12-07 22:31:00 UTC
Checked in as WHATWG revision r7571.
Check-in comment: Remove this comment for consistency.
http://html5.org/tools/web-apps-tracker?from=7570&to=7571