[WebIDL] Remove string constants

Strings are intrinsically meaningful and therefore have no need for  
constants in APIs for the platform. See XMLHttpRequest.responseType and  
the <canvas> 2D API for examples. We should remove string constants so  
people (e.g. public-web-perf) will not use them and introduce inconsistent  

We should probably also strongly deprecate numerical constants, maybe even  
go as far as naming them "legacyconstant", since they are generally  
considered a poor API too and where it makes sense we have moved away from  
them (e.g. with exceptions).

Anne van Kesteren

Received on Thursday, 20 October 2011 02:26:34 UTC