Chris Lilley: > Incidentally, why is HTML5 making the default be text/javascript > rather than application/ecmascript? The argument is: * Processing requirements for text/javascript and application/ecmascript don’t differ in HTML 5. * RFC 4239 is not referenced because it makes requirements that are incompatible with some requirements in HTML 5, such as determining encoding of scripts. * The name "text/javascript" is much more widely used in practice. * Changing the default script type to application/ecmascript then would not result in changes to implementation requirements, so given that text/javascript is used more widely, that is what is used. Some IRC discussion that teased these arguments out: http://krijnhoetmer.nl/irc-logs/whatwg/20090603#l-81 -- Cameron McCormack ≝ http://mcc.id.au/Received on Wednesday, 3 June 2009 02:30:10 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 June 2009 02:30:14 GMT