[Bug 25359] Use [Unforgeable] and [NewObject] annotations in D3E

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25359

--- Comment #4 from Travis Leithead [MSFT] <travil@microsoft.com> ---
Well, if we agree with Anne's comments, then [Exposed] is for altering the
default "exposure" of the interface outside of the "primary global interface"
(http://heycam.github.io/webidl/#Exposed). The default as I understand it, is
the Window object (vs. a worker object).

So besides just harmonizing with what's in DOM4, we'd need to review all of our
interfaces to see which ones we define that might need exposure to Web workers.
If they do need to be exposed, then we don't need to add the [Exposed] extended
attribute, since the default will suffice.

Here's the list and my default recommendations:

* UIEvent - default exposure
* FocusEvent - default exposure
* MouseEvent - default exposure
* WheelEvent - default exposure
* InputEvent - default exposure
* KeyboardEvent - default exposure
* CompositionEvent - default exposure
* MutationEvent (legacy) - default exposure

So, in summary, if this list is acceptable, then Exposed is only needed for the
events which are already defined to be exposed to workers in Dom4.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 16 April 2014 17:24:23 UTC