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

script MIME types used in tests

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 20 Oct 2010 14:52:51 +1300
To: public-svg-wg@w3.org
Message-ID: <20101020015251.GG11825@wok.mcc.id.au>
$ for x in {text,application}/{javascript,ecmascript}; do echo $x: `grep "<script.*$x" * | wc -l`; done; echo none: `grep '<script' * | grep -v type | wc -l`
text/javascript: 16
text/ecmascript: 28
application/javascript: 0
application/ecmascript: 3
none: 33

Presumably we want all four of the above RFC4329 types to actually
result in script running.  Should we just have a dedicated test for
that, and then remove type="" attributes that are one of the above from
<script>s in all tests not deliberating testing script types?

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 20 October 2010 01:53:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 20 October 2010 01:53:30 GMT