gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash/testsuite/misc-swfc.all opcode_guard_test...


From: strk
Subject: Re: [Gnash-commit] gnash/testsuite/misc-swfc.all opcode_guard_test...
Date: Thu, 8 Nov 2007 08:12:51 +0100

On Thu, Nov 08, 2007 at 05:29:44AM +0000, Zou Lunkai wrote:
> CVSROOT:      /sources/gnash
> Module name:  gnash
> Changes by:   Zou Lunkai <zoulunkai>  07/11/08 05:29:44
> 
> Added files:
>       testsuite/misc-swfc.all: opcode_guard_test3.sc 

Bogus comment or implementation of test3 ?
Comment says 'del mc3' should be at target of gotoAndPlay,
while implementation puts it one frame before that:

> +// test3: 
> +//   place mc3 at frame X, _root.gotoAndPlay(X+2)
> +//   remove mc3 at frame X+2
> +// observed:
> +//   global code in mc3 is guarded by isUnloaded()
> +.frame 10
> +    .sprite mc3
> +        .action:
> +            _root.mc3.onUnload = function () {};
> +            _root.gotoAndPlay(13);
> +            _root.asExecuted3 = true;
> +        .end
> +    .end
> +    .put mc3
> +.frame 12
> +    .del mc3
> +.frame 13
> +.frame 14
> +    .action:
> +        _root.check_equals(asExecuted3, false);
> +    .end

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]