On Wed, Jul 11, 2007 at 06:43:08AM +0000, Zou Lunkai wrote:

> +  // Gnash fails because it forget to do the case conversion.
> +  // A big old bug!
>    xcheck(root->get_member("hasKeyPressed", &tmp));

WARNIN: this is not a bug, but a feature :)
get_member() doesn't perform the case conversion, the caller does.
This is to avoid repeated and useless conversions of already-lower-case
names when recursing to __proto__.
A self-contained test for members would succeed in this case, as it
would be converted by ActionExec.

--strk;


_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to