[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] ActionScript errors (was: invalidated bounds interfaces)
From: |
strk |
Subject: |
[Gnash-dev] ActionScript errors (was: invalidated bounds interfaces) |
Date: |
Sun, 5 Nov 2006 13:08:05 +0100 |
On Sun, Nov 05, 2006 at 11:40:24AM +0000, Martin Guy wrote:
> >Oh dear, I do not even want to know how much errors Gnash will find in
> >real-world movie files... ;)
>
> Lots. But it is an explicit design feature of flash player that it
> never pops up error message boxes or barfs on bad rubbish, but always
> carries on with the movie... unless the error is so critical that it
> *cannot* proceed.
> Calls to missing functions, references to undefined objects must be
> skipped over or default values used. At most, it could complain on
> stderr, though probably not even this without a "-w" flag or whatever
> to enable warnings.
I see "printing" such warnings as a feature, I'm sure many flash coders
would agree on this. Yes, we need to only print such warnings when
using -v, and maybe use a special tag for it ('WARNING' so far are
usually used for SWF errors).
> Gnash must work the same way otherwise it will be perceived as
> inferior to the adobe player
> It would be interesting to develop a "bad code" testsuite too, to
> make sure gnash copes with and handles bad input in exactly the same
> ways as the adobe player.
Agreed.
--strk;