This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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
DOM Core does not do this. Should it?
I added a note: http://dvcs.w3.org/hg/domcore/rev/7c066781eb1d
mass-move component to LC1
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?
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.
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.)
This is pending DOM Core being updated to use the new "type" stuff.
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
Pending positive review I will wait updating the draft to use the new exception model.
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>?).
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.
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