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 13328 - Dependencies - DOMException: should reference WebIDL#dfn-throw
Summary: Dependencies - DOMException: should reference WebIDL#dfn-throw
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-22 12:37 UTC by contributor
Modified: 2011-09-30 19:46 UTC (History)
7 users (show)

See Also:


Attachments

Description contributor 2011-07-22 12:37:48 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html
Multipage: http://www.whatwg.org/C#dependencies
Complete: http://www.whatwg.org/c#dependencies

Comment:
Dependencies - DOMException: should reference WebIDL#dfn-throw

Posted from: 91.181.87.229 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux i686; rv:7.0a1) Gecko/20110613 Firefox/7.0a1
Comment 1 Anne 2011-07-23 08:02:11 UTC
DOM Core does not do this. Should it?
Comment 2 Ms2ger 2011-07-23 10:32:00 UTC
I added a note: http://dvcs.w3.org/hg/domcore/rev/7c066781eb1d
Comment 3 Michael[tm] Smith 2011-08-04 05:35:25 UTC
mass-move component to LC1
Comment 4 Ian 'Hixie' Hickson 2011-08-17 23:41:56 UTC
WebIDL's "throw" stuff doesn't seem to mention exception codes, so I don't think it's quite right for my purposes here. (I'm looking for something where I say "throw an INDEX_SIZE_ERR" and it means throwing a DOMException with the right code and message.)

Advice?
Comment 5 Cameron McCormack 2011-08-17 23:50:31 UTC
I think DOM Core should define a term "throw a DOMException of type BLAH_ERR" or "throw a BLAH_ERR", which itself should reference Web IDL's "throw" definition.
Comment 6 Anne 2011-08-18 14:05:31 UTC
I outlined what I think should happen in bug 10623 comment 13.

(Though currently DOM Core does indeed include the required terminology, see comment 2.)
Comment 7 Ian 'Hixie' Hickson 2011-09-23 23:02:40 UTC
This is pending DOM Core being updated to use the new "type" stuff.
Comment 8 Anne 2011-09-26 09:15:06 UTC
If people could review the new throw definition in DOM4 that would be great:

http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#concept-throw
Comment 9 Anne 2011-09-26 09:16:59 UTC
Pending positive review I will wait updating the draft to use the new exception model.
Comment 10 Ian 'Hixie' Hickson 2011-09-26 22:17:33 UTC
LGTM except the types are DOMStrings so IMHO they should be quoted and <code>d, and the styling at the top of the table is off (did you put the header row in a <thead>?).
Comment 11 Ian 'Hixie' Hickson 2011-09-30 00:24:31 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter's comments.
Comment 12 contributor 2011-09-30 00:25:11 UTC
Checked in as WHATWG revision r6602.
Check-in comment: Exceptions DOM Core/WebIDL fix.
http://html5.org/tools/web-apps-tracker?from=6601&to=6602