Details
-
Improvement
-
Resolution: Fixed
-
Blocker
-
3.0 RC2
-
None
Description
Firefox 2rc1 complains (in the error console) about the use of the nonstandard captureEvents() call in Magnolia code:
Warning: Use of captureEvents() is deprecated, see bug 330494
this reports a forward compatibility problem but, at the moment, it's just annoying to see all those logs in the console.
some more info gathered from firefox dev lists:
====
The supported events did not change, it's just that using the
non-standrard window.captureEvents method to listen for events will
break in the next version of Gecko (1.9 - the engine for Firefox 3).
You should use the W3C events API instead - specifically
addEventListener. There are quite a few documents and tutorials
explaining the W3C events system, read some of them (I like the
explanation and the illustration in the DOM Level 3 Events draft).
Even though W3C DOM Level 2 Events specification doesn't have a key
event module, Gecko supports the usual key events, 'keypress'
included.
Documentation is available on MDC
(http://developer.mozilla.org/en/docs/Gecko_DOM_Reference ), but some
of its pages are not of good enough quality yet, so be careful. Once
you figure something out, you're welcome to improve the docs. The W3C
specifications are a good source of information too, except for the
places where we don't follow the spec.
====