gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] /srv/bzr/gnash/trunk r10434: Update NetConnection com


From: Benjamin Wolsey
Subject: Re: [Gnash-commit] /srv/bzr/gnash/trunk r10434: Update NetConnection comments and tests.
Date: Mon, 15 Dec 2008 11:26:16 +0100

Am Montag, den 15.12.2008, 11:11 +0100 schrieb strk:
> On Mon, Dec 15, 2008 at 10:41:52AM +0100, Benjamin Wolsey wrote:
> 
> > +// The pp and Gnash sandboxes behave differently. The pp rejects any
> > +// network connection from filesystem-loaded SWFs unless the SWF location
> > +// is added to the player configuration file.
> 
> It's more complex then that. You can add a tag to the SWF telling wheter
> to use 'local' or 'network' sandbox when the SWF is loaded from filesystem.
> Use 'makeswf -n network' to add the tag allowing local to connecto to remote.
> Additionally, the remote server will have to accept connections from the
> domain you're running from. This is done by placing a crossdomain.xml file
> on the web root. See gnashdev.org/crossdomain.xml for an 'allow-from-all'.
> 

Okay, but as far as the test is concerned, we want to test that an event
is sent straight away when the connection is immediately disallowed for
whatever reason, and NetConnection.as has a local sandbox. For
crossdomain handling the player would still have to initiate a
connection before being rejected, so that wouldn't be an immediate
failure.

--
Free Flash, use Gnash
http://www.gnu.org/software/gnash/

Benjamin Wolsey, Software Developer - http://benjaminwolsey.de

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


reply via email to

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