pinkshirt / firebreath

Automatically exported from code.google.com/p/firebreath
0 stars 0 forks source link

Deep JavaScript Object traversal not working in worker threads #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. From the browser, call a JSAPI method passing a JS Object containing an 
Array that contains JS Objects.
2. In the JSAPI class, inspect the object in the main thread and the compound 
objects will be returned as expected.
3. In the JSAPI class, inspect the object in a worker thread, and while the 
outer object and array will be returned as expected, the objects contained in 
the array will be empty.

The attachment contains the complete FireBreath project to reproduce the 
problem. Only ThreadTestAPI.* has been modified from the generated files. Also 
included is TestTest.html which can be used to trigger the problem.

Tested with firebreath-stable-1.3-nightly73 in Chrome and Firefox on WinXP 
32-bit SP2.

This issue is based on an initial report on the forum:
http://groups.google.com/group/firebreath-dev/browse_thread/thread/7bc1b8c30abf2
068

Original issue reported on code.google.com by Steven.K...@gmail.com on 28 Nov 2010 at 5:48

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed by 
https://github.com/firebreath/FireBreath/commit/21ce05c59f25d2168144161b954ec565
3e57648b

Original comment by taxilian on 30 Nov 2010 at 12:35