added missing getParameter tests
removed errarneously included script
fixed indent for shouldBeType
Merge pull request #507 from pyalot/conformance-getparam2

added missing getParameter checks
Added test to check for the proper prototype chain
Switched test to use standardized Object.getPrototypeOf()
Merge pull request #508 from toji/proto_test

Added test to check for the proper prototype chain
Add out-of-bounds tests for ANGLE_instanced_arrays extension

This is achieved by refactoring existing draw out of bounds tests to
resources/out-of-bounds-test.js so that they can be used both by regular
draw functions and their instanced variants.

Additionally, move tests that don't have anything to do with
out-of-bounds checks from draw-arrays-out-of-bounds.html and
draw-elements-out-of-bounds.html to gl-drawarrays.html and
gl-drawelements.html.

Some tests are added to unify testing done to drawArrays and
drawElements.
Add out-of-bounds tests for instanced attributes

Previously, there were only tests for non-instanced attributes. Add tests
where vertexAttribDivisor is set to != 0 for an attribute.
Do not expect ToInt32 overflow when value should not be converted with ToInt32

Hexadecimal literals may result in number values > 2^31 according to
ECMAScript spec 5.1 sections 7.8.3 and 8.5, and GLintptr is a long long
(64-bit) value according to WebGL IDL. Thus, supplying 0xffffffff to
drawElements offset parameter should not result in -1 and INVALID_VALUE
but rather INVALID_OPERATION. Fix this error.
Add ANGLE_instanced_arrays out-of-bounds test to test list
Restore testing drawArrays with desktop enums

This was previously covered by draw-arrays-out-of-bounds.html. This is a
more appropriate place for the test.
Merge pull request #509 from NVIDIA/angle-instanced-arrays-out-of-bounds

ANGLE_instanced_arrays out-of-bounds tests
Drawing with null CURRENT_PROGRAM should error.

This is actually Chrome's behavior already. Firefox ignores it, in line with the GLES2 spec.
Add to the 'thanks' list, and fix formatting.

The very definition of a shameless plug?
Spec how texImage2D sets the texture width and height depending on the element

It is worthwhile to spec this explicitly to avoid any ambiguity,
especially for less straightforward cases like SVG images.
Merge pull request #511 from jdashg/more-credit

Add to the 'thanks' list, and fix formatting.
Merge pull request #512 from NVIDIA/teximage2d-width-height-spec

Spec how texImage2D sets the texture width and height depending on the element
Show translated shader source using WEBGL_debug_shaders in glsl tests

The translated shader source can be useful when debugging shader
translator or GPU driver issues, so display it alongside the original
source if WEBGL_debug_shaders is available.

Also includes some cleanup of related code.
Refactor shader logging to reduce code duplication

Some tests that did not include shader logging before also get shader
logging.