KhronosGroup / WebCL-conformance

WebCL conformance tests
20 stars 15 forks source link

Passing null for globalWorkSize should throw TypeError #73

Closed toaarnio closed 10 years ago

toaarnio commented 10 years ago

In JavaScript, TypeError should be thrown when an argument is not of the expected type. Since globalWorkSize is not declared nullable, passing null should cause a TypeError (as opposed to INVALID_GLOBAL_WORK_SIZE).