Bug 16338 - event table forbids e.g. load to dispach on XMLHttpRequest
event table forbids e.g. load to dispach on XMLHttpRequest
Status: RESOLVED FIXED
Product: WebAppsWG
Classification: Unclassified
Component: DOM3 Events
unspecified
PC Windows NT
: P2 normal
: ---
Assigned To: Travis Leithead [MSFT]
public-webapps-bugzilla
http://lists.w3.org/Archives/Public/w...
: LC, needsReview
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-12 21:35 UTC by Travis Leithead [MSFT]
Modified: 2012-03-20 01:26 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Leithead [MSFT] 2012-03-12 21:35:27 UTC
PORTING from TRACKER, ISSUE-186...
[see http://lists.w3.org/Archives/Public/www-dom/2011JulSep/0122.html]
----

I'm not really sure whether I should continue reviewing DOM Level 3 Events  
as the way comments are not being discussed by participants of the WG on  
this list but rather on teleconferences between a few people is not  
productive I think, but here we go...

http://dev.w3.org/2006/webapi/DOM-Level-3-Events/html/DOM3-Events.html#event-types-list  
forbids e.g. load events to be dispatch on XMLHttpRequest. That seems very  
wrong. In addition, if I create a synthetic event called load and dispatch  
it on a Text node listeners registered for it should definitely trigger.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Comment 1 Olli Pettay 2012-03-12 21:37:57 UTC
The list is "non-normative summary"
Comment 2 Travis Leithead [MSFT] 2012-03-12 21:45:37 UTC
(that was fast Olli... but thanks. Here's the rest of the email thread, which repeats what you said :-)

On Wed, 17 Aug 2011 13:32:10 +0200, Olli Pettay <Olli.Pettay@helsinki.fi>  
wrote:
> That table is non-normative, as the text says.

Is the text that says "required not" etc. after the table non-normative  
too? That is not at all clear.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Comment 3 Anne 2012-03-13 07:53:46 UTC
And if that is non-normative, it should not use normative keywords.
Comment 4 Travis Leithead [MSFT] 2012-03-17 00:23:55 UTC
Will strip the normative keywords.
Comment 5 Travis Leithead [MSFT] 2012-03-20 01:26:26 UTC
(In reply to comment #4)
> Will strip the normative keywords.

Done.

Additionally, I added some clarity around the intent of the table, converted the normative-looking paragraphs to notes, and included the remark about XHR and dispatching untrusted events to anywhere you want. I think this helps dispell any myths surrounding the included table.

Thanks,
Travis