Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2011-05-24 Kenneth Russell <kbr@google.com>
Reviewed by James Robinson. Implement Float64Array https://bugs.webkit.org/show_bug.cgi?id=39144 Implemented Float64Array based on the existing Float32Array sources. Built and tested in Chromium on Linux and Mac OS X and Safari on Mac OS X. * CMakeLists.txt: * CodeGenerators.pri: * DerivedSources.cpp: * DerivedSources.make: * GNUmakefile.list.am: * UseJSC.cmake: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSBindingsAllInOne.cpp: * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::float64Array): * bindings/js/JSFloat64ArrayCustom.cpp: Added. (WebCore::JSFloat64Array::indexSetter): (WebCore::toJS): (WebCore::JSFloat64Array::set): (WebCore::JSFloat64ArrayConstructor::constructJSFloat64Array): * bindings/v8/custom/V8Float64ArrayCustom.cpp: Added. (WebCore::V8Float64Array::constructorCallback): (WebCore::V8Float64Array::setCallback): (WebCore::toV8): * html/canvas/ArrayBufferView.h: (WebCore::ArrayBufferView::isDoubleArray): * html/canvas/Float64Array.cpp: Added. (WebCore::Float64Array::create): (WebCore::Float64Array::Float64Array): (WebCore::Float64Array::subarray): * html/canvas/Float64Array.h: Added. (WebCore::Float64Array::set): (WebCore::Float64Array::item): (WebCore::Float64Array::isDoubleArray): * html/canvas/Float64Array.idl: Added. * page/DOMWindow.idl: * workers/WorkerContext.idl: 2011-05-24 Kenneth Russell <kbr@google.com> Reviewed by James Robinson. Implement Float64Array https://bugs.webkit.org/show_bug.cgi?id=39144 Added unit tests to existing typed array tests in Khronos repository and synced layout test with them. Updated other affected layout tests. * fast/canvas/webgl/array-unit-tests-expected.txt: * fast/canvas/webgl/array-unit-tests.html: * fast/dom/Window/script-tests/window-property-descriptors.js: * fast/dom/Window/window-properties.html: * fast/dom/script-tests/constructed-objects-prototypes.js: (constructorPropertiesOnWindow): * fast/dom/script-tests/prototype-inheritance-2.js: (constructorNamesForWindow): * fast/dom/script-tests/prototype-inheritance.js: * fast/js/script-tests/global-constructors.js: Canonical link: https://commits.webkit.org/76774@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@87197 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
498 additions
and 2 deletions.
- +21 −0 LayoutTests/ChangeLog
- +44 −0 LayoutTests/fast/canvas/webgl/array-unit-tests-expected.txt
- +14 −1 LayoutTests/fast/canvas/webgl/array-unit-tests.html
- +1 −0 LayoutTests/fast/dom/Window/script-tests/window-property-descriptors.js
- +1 −0 LayoutTests/fast/dom/Window/window-properties.html
- +1 −0 LayoutTests/fast/dom/script-tests/constructed-objects-prototypes.js
- +1 −0 LayoutTests/fast/dom/script-tests/prototype-inheritance-2.js
- +1 −1 LayoutTests/fast/dom/script-tests/prototype-inheritance.js
- +1 −0 LayoutTests/fast/js/script-tests/global-constructors.js
- +2 −0 Source/WebCore/CMakeLists.txt
- +46 −0 Source/WebCore/ChangeLog
- +1 −0 Source/WebCore/CodeGenerators.pri
- +1 −0 Source/WebCore/DerivedSources.cpp
- +1 −0 Source/WebCore/DerivedSources.make
- +5 −0 Source/WebCore/GNUmakefile.list.am
- +1 −0 Source/WebCore/UseJSC.cmake
- +5 −0 Source/WebCore/WebCore.gypi
- +4 −0 Source/WebCore/WebCore.pro
- +8 −0 Source/WebCore/WebCore.vcproj/WebCore.vcproj
- +22 −0 Source/WebCore/WebCore.xcodeproj/project.pbxproj
- +1 −0 Source/WebCore/bindings/js/JSBindingsAllInOne.cpp
- +6 −0 Source/WebCore/bindings/js/JSDOMWindowCustom.cpp
- +61 −0 Source/WebCore/bindings/js/JSFloat64ArrayCustom.cpp
- +61 −0 Source/WebCore/bindings/v8/custom/V8Float64ArrayCustom.cpp
- +1 −0 Source/WebCore/html/canvas/ArrayBufferView.h
- +62 −0 Source/WebCore/html/canvas/Float64Array.cpp
- +75 −0 Source/WebCore/html/canvas/Float64Array.h
- +48 −0 Source/WebCore/html/canvas/Float64Array.idl
- +1 −0 Source/WebCore/page/DOMWindow.idl
- +1 −0 Source/WebCore/workers/WorkerContext.idl
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -37,6 +37,7 @@ var __skip__ = { | ||
"Int32Array" : 1, | ||
"Uint32Array" : 1, | ||
"Float32Array" : 1, | ||
"Float64Array" : 1, | ||
"FileError" : 1, | ||
"FileReader" : 1, | ||
"WebKitBlobBuilder" : 1, | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -103,6 +103,7 @@ DOM_CLASSES = \ | ||
Int8Array \ | ||
WebGLContextAttributes \ | ||
Float32Array \ | ||
Float64Array \ | ||
WebGLFramebuffer \ | ||
CanvasGradient \ | ||
Int32Array \ | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.