In our continuing effort to remove unnecessary interfaces, I'll be
removing nsIDOMNSUIEvent, nsIDOMNSMouseEvent, and nsIDOMNSEvent, and
moving their members into nsIDOMUIEvent, nsIDOMMouseEvent, and
nsIDOMEvent respectively. Note that, thanks to classinfo, it is not
necessary to QI to these interfaces when using them from script.
If I read MXR correctly, no changes to comm-central will be required.
You can follow along in bug 672054. [1]
Ms2ger
--BDS
> On 8/24/2011 4:52 PM, Ms2ger wrote:
>> Hi all,
>>
>> In our continuing effort to remove unnecessary interfaces, I'll be removing nsIDOMNSUIEvent, nsIDOMNSMouseEvent, and nsIDOMNSEvent, and moving their members into nsIDOMUIEvent, nsIDOMMouseEvent, and nsIDOMEvent respectively. Note that, thanks to classinfo, it is not necessary to QI to these interfaces when using them from script.
> Have you checked extensions to see if this will cause incompatibilities? I can't imagine that most extensions would be using these, since they are automatically flattened, but we should check and perhaps keep a stub name around just for compatibility if there are major issues.
>
Is it a big deal just keeping the stub name around? If not, let's just do it by default so we don't have to worry about the compat issue.
Thanks,
Christian
It would be a big deal to do that for all interfaces that we're
deprecating, yes. So some sort of migration strategy is needed.
Additionally, i'm not sure how much we increase the compatibility by
keeping empty interfaces around. Not very much I'd imagine. I could
see it hurting as much as helping if addons QI to interfaces and do
proper nullchecking.
/ Jonas
--BDS
It's just going to leave too much cruft over time. I'm fine with
leaving things in for a few releases, but not indefinitely.
/ Jonas