WebCL Conformance test suite update for review.

    Fixes the below issues ::
    [Khronos #34] Relax some test cases when platform has a single device. [SRA-GITHUB #290]
    [Khronos #35] Correct type of return value [SRA-GITHUB #294]
    [Khronos #37] HomePage : Correcting 'run tests' button behavior. [SRA-GITHUB #296]
    Modify test suite as per updated spec. [SRA-GITHUB #298]
    [Khronos #42] Define hostPtr in conformance/bindingTesting/eventsAndCallbacks/cl_webcl_waitForEvents.html [SRA-GITHUB #303]
    [Khronos #32] Add test case to create context on atleast one valid device. [SRA-GITHUB #297]

    Contributors :
    SRI-B : Shilpa Shri, Sharath Kamath.
    SRA : Antonio, Steven and Igor.

    Details on changes is available at master_r01292014 branch:
    https://github.com/SRA-SiliconValley/webkit-webcl-conformance.git.
    WebCL Conformance test suite update for review.

    Fixes the below issues ::
    [Khronos #29] Displaying operation mode (strict / relax) on home page.
    [Khronos #41] Refactor functionalityTesting/basics/createContext.html
    [Khronos #4] Add functionality test cases for enqueueCopyImage.
    [Khronos #39] rework the "display html summary" output
    [Khronos #40] Change size of hostPtr in createImage in multiple places.[Part1]
    [Khronos #38] make it easier to identify where a test has fail
    Modify test suite as per updated specification and miscellaneous corrections.

    Contributors :
    SRI-B : Shilpa Shri, Sharath Kamath.
    SRA : Antonio, Steven and Igor.
    WebCL Conformance test suite update for review.

    Fixes the below issues ::
    [Khronos #16] Security : Add test cases to check for memory initialization.
    Add test cases for rowPitch values with createImage()
    Create a commandQueue only if device supports the property.
    Fix enqueue{Read, Write} Image for 'hostRowPitchInvalid' in bindingTesting
    Add a test case for webclplatform::getdevices() without parameters.

    HomePage : Correction in obtaining DEFAULT device.
    HomePage : Display test case number only if its available

    Refractor enqueueCopy* API test cases.
    Add functionality tests for WebCLContext :: createCommandQueue
    Add functionality tests for createSampler API
    Add functionality tests for enqueue{Read, Write} Buffer API
    Add functionality tests for enqueue {Read/ Write} image API.

    createCommandQueue.html uses DEVICE_TYPE_ALL for creating context
    Refractor HTMLCanvasElement API's.
    Refractor all enqueue*Rect test cases.

    Add testcases for createContext in extension: KHR_gl_sharing.
    Add testcases for createFromGLRenderbuffer API in extension: KHR_gl_sharing.
    Add testcases for createFromGLTexture API in extension: KHR_gl_sharing.
    Add testcases for createFromGLBuffer API in extension: KHR_gl_sharing.

    Contributors :
    SRI-B : Shilpa Shri, Sharath Kamath.
    SRA : Antonio, Steven and Igor.
    WebCL Conformance test suite update for review.

    Fixes the below issues ::
    [Khronos #47] getInfo(DEVICE_QUEUE_PROPERTIES) test should expect 0, not null
    [Khronos #46] getInfo(DEVICE_VENDOR_ID) test should expect a number, not a string
    [Khronos #51] bindingTesting/eventsAndCallbacks/cl_event_setCallback.html review
    [Khronos #50] bindingTesting/eventsAndCallbacks/cl_webcl_waitForEvents.html review
    [Khronos #36] Need tests to ensure OpenCL C 1.2 features are not accepted.
    Add testcases to verify invalid callbacks, expecting typeError
    Add test cases for Valid values for parameters.
    Add testcase to verify IMAGE_FORMAT_MISMATCH

    Contributors :
    SRI-B : Shilpa Shri, Sharath Kamath, Gajendra N.
    SRA : Antonio, Steven and Igor.
    Fixing instanceOf behaviour with WebCLObjects in test suite.

    Issue #44

    Currently we store the WebCLPlatform & WebCLDevice objects selected
    by the user in the Global singleton object. This provides the user option
    to run test suite in particular platform & Device.

    This causes issue with instanceOf operator as the actual test case is
    executed in the iFrame and the global objects are created in the MainFrame.
    Since webcl is a property of window object the instanceOf with webcl across
    frames will return false.

    Fixing this by storing metadata on the selected devices & platform, instead of actual objects.
    These metadata (index of the selected devices & platform) are used to get the particular
    objects by querying WebCL in the execution frame.

    Assumption :: Everytime we call getPlatform() & getDevices(), the implementation
    must return same array of platforms & devices in order.
    WebCL Conformance test suite update for review.

    Fixes the below issues ::
    [Khronos #52] Remove invalid build option (-DSIZE=1024) from WebCLProgram :: build
    [Khronos #54] Needs test to ensure structures are not allowed as kernel argument
    [Khronos #47] getInfo(DEVICE_QUEUE_PROPERTIES) should return 0, 1, 2 or 3
    Add testcase to verify constants in WebCL.idl.
    Add testcase for WebCLContext :: getSupportedImageFormats with no params.
    Remove getPrototypeOf and use instanceof
    Modifying wtu.generateRandom#### API to make more sense.
    Passing releaseAll() call via WTU for HTMLCanvas files in WEBCL_html_image extension.

    Contributors :
    SRI-B : Shilpa Shri, Sharath Kamath, Gajendra N.
    SRA : Antonio, Steven and Igor.
    WebCL Conformance test suite update for review.

    Fixes the below issues ::
    [Khronos #53] Add testcase to ensure that kernel name is not more than 256 characters.
    [Khronos #55] Refactor cl_commandQueue_enqueueMarker.html to throw INVALID_EVENT on taking webCLUserEvent as input.

    Add testcase for WebCLKernel::setArg(index, <64bit-integer>) support.
    Add testcase for async variant of WebCLCommandQueue::finish
    Add functionality tests for createBuffer API.
    Fix Non-blocking enqueueRead* API's crash occasionally.
    Add testcase to verify INVALID_EVENT in cl_event_getinfo.html and cl_event_getProfilingInfo.html
    Validate ArrayBufferView types against type in Kernel signature to check for INVALID_ARG_VALUE in setArg
    Add testcases to verify exception for WebCLBuffer :: createSubBuffer
    Releasing resources at end of test case.

    Enable extension for create{Buffer, Image}Validation in WEBCL_html_image extn.
    Add testcases to verify valid param values for enqueue APIs in extn WEBCL_html_image.
    Releasing context and creating a new one, after enabling extension WEBCL_html_image.
    Relax test of MEM_OBJECT_IMAGE3D in cl_webcl_constants_check.html

    Adding testcases for enqueueAcquireGLObjects API in extension: KHR_gl_sharing.
    Adding testcases for enqueueReleaseGLObjects API in extension: KHR_gl_sharing.
    Route all gl & clgl calls via WebCLGLUtils
    Moving CLGL constants check before enabling extension, to KHR_gl_sharing folder.
    Using shouldBeValueOrUndefined for extension enums which can be optionally visible without enabling the extension.

    Contributors :
    SRI-B : Shilpa Shri, Sharath Kamath, Gajendra N.
    SRA : Antonio Gomes and Steven Eliuk.
Fix issue #57 (replace [] with null)
Fix issue #57: Replace [] with null where necessary
Merge pull request #58 from KhronosGroup/emptyArrayFix

Fix issue #57: Replace [] with null where necessary.
    WebCL Conformance test suite update for review.

    Fixes the below issues ::

    [Khronos #56] Add testcases for nullable parameters for enqueue### API
    [Khronos #59] Correct exception checking in getProfilingInfo test
    [Khronos #60] Correct origin value in createBuffer.html
    [Khronos #61] Invalid use of 'long long' in test kernels
    [Khronos #62] Invalid WebCLImageDescriptor in kernel.setArg tests
    [Khronos #63] Remove verification for testcase without params in createContext.html
    [Khronos #65] Remove test cases to check MISALIGNED_SUB_BUFFER_OFFSET from enqueueAPI

    Add a Initial page for WebCL conformance test suite.
    Add functionality tests to WebCLEvent::setCallback
    Add functionality tests to createImage API
    Add functionality tests to WebCLCommandQueue::finish API
    Add functionality tests to WebCLCommandQueue::enqueueReadBufferRect API
    Add method in utils to embed post.js in html file

    Add test cases for bindingTesting/*
    Add testcases to verify INVALID_IMAGE_SIZE for extension : WEBCL_html_image
    Fix misc problems in home page and utils.js
    Refactor createProgram and createKernels functionality files
    Correct mistakes in extension/KHR_gl_sharing/cl_context_createFromGLTexture.html

    Contributors :
    SRI-B : Shilpa Shri, Sharath Kamath, Gajendra N.
    SRA : Antonio Gomes and Steven Eliuk.
Fix invalid localWorkSize and globalWorkOffset
Remove negative-status user events from eventWaitLists
Merge pull request #70 from KhronosGroup/fixInvalidNDRange

Fix invalid localWorkSize and globalWorkOffset.
Merge pull request #71 from KhronosGroup/fixInvalidWaitLists

Remove negative-status user events from eventWaitLists.
Passing null for globalWorkSize should throw TypeError, not INVALID_GLOBAL_WORK_SIZE
Merge pull request #73 from KhronosGroup/fixNDRangeExceptionType

Passing null for globalWorkSize should throw TypeError
    Correct expected rowPitch value in WebCLImage :: getInfo

    Issue #67

    Changed cl_image_getinfo.html and createImage.html to expect
    rowPitch equivalent to image_width * size of element in bytes
    WebCL Conformance test suite update for review.

    Fixes the below issues ::

    Added functionality tests for enqueueWriteBufferRect
    Removed redundant file : bufferRectOperations.html.
    Refactor cl_webcl_waitForEvents.html to make it in par with spec
    Refactor WebCLKernel :: getWorkGroupInfo API test cases.
    Making enqueue{Read, Write} operations calls as unblocking, when waited on userevents.

    Contributors :
    SRI-B : Shilpa Shri, Sharath Kamath, Gajendra N.
    SRA : Antonio Gomes and Steven Eliuk.
    Invalid async build() tests

    Issue #72

    Summary :
    Creating a different program and building it without affecting
    build of other program.
    Verifying functionality of buildcallback with all possibilities.