[webkit-dev] Plan to move TypedArray out of WebGL feature guard

Chris Marrin cmarrin at apple.com
Thu Dec 23 11:17:00 PST 2010

On Dec 23, 2010, at 11:01 AM, Darin Adler wrote:

> Yes, we want correct conditionals, and TypedArray should not be in the WebGL feature guard if it’s used in other features.
> Adding a feature new guard would not be good if it has to be set explicitly. It would be much better if the build just decided correctly based on the other feature guards.
> If TypedArray is used in multiple conditional features, then we have to use the correct expression to check the feature guards.
> If it’s used in any unconditional feature, then it should not have a feature guard at all.

So then that brings up another question. Is there any reason for it NOT to be unguarded? It adds some protos to JS and takes up a bit of space. But it's not dependent on any platform or hardware that I'm aware of.

cmarrin at apple.com

More information about the webkit-dev mailing list