On Jan 15, 1:07 am, Attila Szegedi <[EMAIL PROTECTED]> wrote:
> I can't promise I'll be able to look at it short term. There's just
> too much on my plate on my paid job, and lately I'm scarcely finding
> time for anything unrelated.
>
> Attila.
>
> On 2008.01.14., at 11:24, Marc Guillemot wrote:> I've created an issue with 
> attached patch to implement new feature
> > Context.FEATURE_NON_ECMA_TO_BOOLEAN:
> >https://bugzilla.mozilla.org/show_bug.cgi?id=412247
>
> > Can a Rhino committer look at it? This would allow HtmlUnit (as well
> > as
> > other projects using Rhino to simulate a browser) to correctly handle
> > document.all boolean conversion.
>
> > Cheers,
> > Marc.
> > --
> > Blog:http://mguillem.wordpress.com
>
> > Marc Guillemot wrote:
> >> Hi,
>
> >> in HtmlUnit I need to simulate Firefox results for following
> >> (document.all being a custom host object):
>
> >> document.all ? true : false // -> false
> >> Boolean(document.all) // -> true
>
> >> It seems to me that I can't do that with current Rhino state: Rhino
> >> handles boolean conversion the same way in both above cases, and
> >> unless
> >> language version is set < 1.3, getDefaultValue is not called on the
> >> object.
>
> >> Is this correct? Is there an other way to handle this?
>
> >> Cheers,
> >> Marc.

I'll take a look when I get a chance, perhaps on my plane flight
Thursday.

--N
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to