There is a general for-in enumeration order bug filed for Tamarin: https://bugzilla.mozilla.org/show_bug.cgi?id=563598


On 2/15/2011 7:44 PM, P T Withington wrote:
Ouch.  That's a lot of work to get around a dumb Flash bug.

Approved.

Is there an Adobe bug we should link this to?

On 2011-02-15, at 13:15, André Bargull wrote:

Change bargull-20110215-kxe by bargull@Bargull02 on 2011-02-15 19:02:13
in /home/anba/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Use Proxy-Object for deterministic iteration-order

Bugs Fixed: LPP-9757 (OL 5.0.x - SWF10 - smokecheck failed)

Technical Reviewer: ptw
QA Reviewer: dju

Details:
Adobe changed the iteration order for their objects once again with the new 
FlashPlayer 10.2, so the old tests which worked with Player 10.1 no longer 
succeed. As a workaround until we get insertion order iteration for Flash just 
like in browser Javascript, I've added a Proxy class to ensure deterministic 
order for the simple cases.


Tests:
smokecheck swf10 x (firefox, ie) with FlashPlayer 10.2

Files:
M test/smoke/ecma-forin.lzl
M test/smoke/e4x-foreach.lzl

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/bargull-20110215-kxe.tar



Reply via email to