2013-01-29  Igor Oliveira  <igor.o@sisa.samsung.com>

        Part 2 - Instead of an array getPlatforms, getDevices, getSupportedImageFormats and createKernelsInProgram should return a sequence.
        Issue #73

        Reviewed by NOBODY (OOPS!).

        Currently, WebCL::waitForEvents is using WebCLEventList, however per spec, it should accept an array of WebCLEvent.
        Additionally, the current patch is not handling others waitForEvents parameters. They will be implemented in other patch.

        * Modules/webcl/WebCL.cpp:
        (WebCore::WebCL::waitForEvents):
        * Modules/webcl/WebCL.h:
        * Modules/webcl/WebCL.idl:
        * bindings/js/JSWebCLCustom.cpp:
        (WebCore):
        (WebCore::toWebCLEventArray):
        (WebCore::JSWebCL::waitForEvents):
        * bindings/js/JSWebCLCustom.h:
        (WebCore):
        * platform/ComputeContext.h:
        * platform/opencl/ComputeContextCL.cpp:
        (WebCore::clToComputeContextError):
        (WebCore::ComputeContext::waitForEvents):
        (WebCore):