Webplayer String length fails?

Probably related to http://answers.unity3d.com/questions/42923/unity-3-1-webplayer-access-method-failed

I'm using Javascript, trying to access .length on a String. In anything else, this works fine. In the web player, it tosses a huge block of error report.

Is this a bug or expected behavior?

In case anyone else runs into this:

.length is accepted and does not complain and works on most platforms, not web player, even though it builds without complaint. Runtime error.

.Length is also accepted but does run on all platforms.

This is a bug, it should take one or the other, or be consistent anyway.