[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Last-minute comments/questions for 1.0.1 spec/tests



No additional work is needed in WebKit's implementation to ensure that
both of these will return false. Once the caching code is removed from
Mozilla's implementation it will return false for these statements
too.

-Ken

On Wed, Nov 30, 2011 at 7:57 PM, Mark Callow <callow_mark@hicorp.co.jp> wrote:
> Is ensuring that these are false going to require work by the
> implementation? If so, I'd prefer that work be directed to ensuring they are
> the same.
>
> Regards
>
>     -Mark
>
>
> On 01/12/2011 08:21, James Robinson wrote:
>
>
> If we are OK with not caching, then we need to mandate not caching in the
> spec or people will hang expandos on the return value.  This has happened
> before for other specs and been a real mess to clean up.
>
> This means in particular the following should be false and tested:
>
> context.getUniformLocation(program, "foo")
> === context.getUniformLocation(program, "foo")
> context.getUniformLocation(program, "foo").happy =
> "lala"; context.getUniformLocation(program, "foo").happy == "lala";
>
> Same goes for any other API that returns a JS object instead of a JS value.
>
> - James
>
>>
>> -Ken
>>
>

-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------