Community
Participate
Working Groups
Created attachment 225562 [details] A snippet that shows the issue with boolean arrays It looks like there is an issue with converting boolean array parameters that are passed to BrowserFunction. I attached a snippet that shows the issue. When passing an array like [false, false, false, false, false], instead of an array with false values the function receives an array with random boolean values. I'm doing my tests with XULRunner 10 but I believe that the bug can be reproduced with previous versions too.
Fixed > 20130125, patch: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=1f7643c736fc8cac574e87e3f7d34000a6634b1c .
Thanks for the quick fix! Will it be also available in 3.8.2?
No, it's late in the cycle for submissions to 3.8.x/4.2.x, and I'm not sure that the severity of the issue would have warranted it regardless. Possible workarounds in the meantime are to either use a native renderer != XULRunner 10 (eg.- XULRunner 3.6.x works fine), or to pass numbers instead and to interpret them on both ends as representing boolean values.
*** Bug 407960 has been marked as a duplicate of this bug. ***