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

RE: Executing multiply-referenced external scripts only once

From: Niklas Hagelroth <niklas.hagelroth@ikivo.com>
Date: Wed, 22 Oct 2008 16:06:04 +0200
Message-ID: <234EB4699C751A4A95DF4FD8D041BBFD01068E1F@SESTHSRV10.zoomon.local>
To: "Lee Martineau" <lee.martineau@quickoffice.com>, "Cameron McCormack" <cam@mcc.id.au>, "SVG Working Group WG" <public-svg-wg@w3.org>
Hi Cameron,

Ikivo also reports 2.

/Niklas

> -----Original Message-----
> From: public-svg-wg-request@w3.org [mailto:public-svg-wg-request@w3.org]
> On Behalf Of Lee Martineau
> Sent: den 22 oktober 2008 14:43
> To: Cameron McCormack; SVG Working Group WG
> Subject: RE: Executing multiply-referenced external scripts only once
> 
> Cameron,
> 
> BitFlash reports 2.
> 
> --
> Lee
> 
> 
> -----Original Message-----
> From: public-svg-wg-request@w3.org [mailto:public-svg-wg-request@w3.org]
> On Behalf Of Cameron McCormack
> Sent: Tuesday, October 21, 2008 11:45 PM
> To: SVG Working Group WG
> Subject: Executing multiply-referenced external scripts only once
> 
> 
> Cyril Concolato:
> > >  - What about externally referenced scripts ?
> > Here I just want to clarify that if two scripts in the same scripting
> > context point to the same script file, then the script is loaded only
> > once. I propose the following sentence:
> >
> > "Similarly to resource documents, in the case of multiple references,
> > in the same scripting context, to the same external script file, the
> > script file is processed once."
> 
> Actually, I disagree with this behaviour.  In Opera, Firefox and Batik,
> two references to the same external script will result in the script
> being run twice, which is what the HTML behaviour is.  Here’s a test:
> 
>   http://dev.w3.org/SVG/profiles/1.1F2/ua-tests/script-reexecution.svg

> 
> The document alerts the number of times the external script was
> executed.
> 
> Mobile implementors: could you say what your implementations do on the
> above test?
> 
> Thanks,
> 
> Cameron
> 
> --
> Cameron McCormack ≝ http://mcc.id.au/


Received on Wednesday, 22 October 2008 14:07:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 October 2008 14:07:16 GMT