• bfulgham@apple.com's avatar
    Implement ArrayBuffer.isView · b42262a8
    bfulgham@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=126004
    
    Reviewed by Filip Pizlo.
    
    Source/JavaScriptCore: 
    
    Test coverage in webgl/1.0.2/resources/webgl_test_files/conformance/typedarrays/array-unit-tests.html
    
    * runtime/JSArrayBufferConstructor.cpp:
    (JSC::JSArrayBufferConstructor::finishCreation): Add 'isView' to object constructor.
    (JSC::arrayBufferFuncIsView): New method.
    
    LayoutTests: 
    
    * webgl/1.0.2/resources/webgl_test_files/conformance/typedarrays/array-unit-tests.html:
    Correct test for 'isView' to actually check for 'isView' function.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b42262a8