Heres the (concise) version of what Im doing

Code :
var b = new ArrayBuffer(32*32*4);
var v1 = new Uint8Array(b);
for ( var i=0; i<32*32*4; i++ )
   v1[i] = i%255;
gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, 32, 32, 0, gl.RGBA, gl.UNSIGNED_BYTE, v1);

but nothings showing up when I draw the texture its just black, no errors

Im not 100% sure if Im doing the arraybuffer thing correct,
heres the spec ... cs/latest/

Anyone have any ideas whats going wrong,
cheers zed