[rfc][icedtea-web] Reproducer for PR1198: JSObject#eval creates invalid JS object

Omair Majid omajid at redhat.com
Fri Nov 9 12:08:23 PST 2012


On 11/09/2012 02:26 PM, Adam Domurad wrote:
> Reproduces http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1198.

Thanks, this looks fantastic!

> When calling:
>                     JSObject win = JSObject.getWindow(applet);
>                     JSObject js = (JSObject) win.eval("new Object();")
> 'js' should be a valid JSObject, but due to this bug it is not possible
> to set or query its members. (JSObject encapsulates an ID passed from
> the C++ side of things, still looking into cause of bug).


>     Tests if JSObject#eval creates valid JSObject.

Could you add some of this summary to the code itself?

Otherwise looks fine to me.


PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681

More information about the distro-pkg-dev mailing list