W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2008

RE: <script> elements running only once

From: Alexander Adam <alexander.adam@examotion.com>
Date: Mon, 9 Jun 2008 09:50:41 +0200
To: "'Cameron McCormack'" <cam@mcc.id.au>, <public-svg-wg@w3.org>
Message-ID: <760BB5E6BB6E4638889D74F07119A2A6@Satellite415>

Hi Cameron,

Hmm.. how would you decided whether that script has already been inserted? I.e. what if I do move the position of an existing script node? This would cause the script to be re-eval'd again.. I am really uncertain if we should really allow such modifications after the script context and everything has been established as this could lead to more issues than it'd solve.. and it'd also open some more security issues (i.e. infinite loading loops on onload and such things). What you think?

mfG / Regards,
Alexander Adam
--
CEO / Geschäftsführer

examotion GmbH
Karl-Grillenberger-Str. 1/1a
90402 Nuernberg

Phone:  +49 911 - 59650-68
Fax:    +49 911 - 59650-69
E-Mail: alexander.adam@examotion.com
Web:    http://www.examotion.com

Geschäftsführer: Alexander Adam
Amtsgericht Nürnberg HRB Nr.: 23803 
Gerichtsstandort: Nürnberg

--------------------------------------------------
LEGAL DISCLAIMER: The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.
--------------------------------------------------


> -----Original Message-----
> From: public-svg-wg-request@w3.org [mailto:public-svg-wg-request@w3.org]
> On Behalf Of Cameron McCormack
> Sent: Montag, 9. Juni 2008 09:44
> To: public-svg-wg@w3.org
> Subject: Re: <script> elements running only once
> 
> 
> Hi Alex.
> 
> Alexander Adam:
> > I'd like to note that it's hard to re-execute scripts once they're
> > in the context it's almost impossible to take them out again if the
> > script engine doesn't support it. For example, Renesis uses Jscript
> > and we do not have any chance to get it out except shutting the whole
> > engine down, then restarting it and re-inserting all scripts..
> 
> Yeah, I don’t think the scripts should be “removed” if the <script>
> element is removed from the document.  (Neither the SVG Tiny 1.2 text
> nor the HTML 5 text require that.)  Re-executing a <script> element
> shouldn’t be hard though, if we decided to keep that requirement, since
> it should be just the same as ‘eval’ing the text content of the element.
> 
> --
> Cameron McCormack ≝ http://mcc.id.au/
Received on Monday, 9 June 2008 07:51:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 June 2008 07:51:41 GMT