WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
39144
Implement Float64Array
https://bugs.webkit.org/show_bug.cgi?id=39144
Summary
Implement Float64Array
Kenneth Russell
Reported
2010-05-14 17:52:09 PDT
The implementation of the TypedArray specification in WebKit, which originally only contained those types relevant to WebGL, needs Int64Array, Uint64Array and DoubleArray in order to be complete.
Attachments
Patch
(38.76 KB, patch)
2011-05-23 20:32 PDT
,
Kenneth Russell
no flags
Details
Formatted Diff
Diff
Archive of layout-test-results from ec2-cr-linux-03
(1.33 MB, application/zip)
2011-05-23 22:15 PDT
,
WebKit Review Bot
no flags
Details
Patch
(43.34 KB, patch)
2011-05-24 11:33 PDT
,
Kenneth Russell
jamesr
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Marrin
Comment 1
2010-05-15 08:38:40 PDT
If we add those, we should probably also add BoolArray for completeness
Oliver Hunt
Comment 2
2010-05-15 12:10:01 PDT
why does it need int/uint64? these types cannot be represented in JS at all?
Kenneth Russell
Comment 3
2010-05-15 13:39:08 PDT
(In reply to
comment #2
)
> why does it need int/uint64? these types cannot be represented in JS at all?
Oops, I should have checked the spec. You're right, those aren't present. Revised the summary to indicate only DoubleArray needs to be implemented.
Kenneth Russell
Comment 4
2010-06-08 11:49:52 PDT
The TypedArray spec has been modified to call this Float64Array rather than DoubleArray. Updated the summary.
Kenneth Russell
Comment 5
2011-05-23 20:32:15 PDT
Created
attachment 94551
[details]
Patch
WebKit Review Bot
Comment 6
2011-05-23 22:15:08 PDT
Comment on
attachment 94551
[details]
Patch
Attachment 94551
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/8726580
New failing tests: fast/dom/prototype-inheritance.html inspector/profiler/cpu-profiler-profiling.html
WebKit Review Bot
Comment 7
2011-05-23 22:15:13 PDT
Created
attachment 94564
[details]
Archive of layout-test-results from ec2-cr-linux-03 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-03 Port: Chromium Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Kenneth Russell
Comment 8
2011-05-24 11:33:27 PDT
Created
attachment 94649
[details]
Patch Updated layout tests affected by new Float64Array property on DOMWindow.
James Robinson
Comment 9
2011-05-24 12:08:37 PDT
Comment on
attachment 94649
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=94649&action=review
R=me - just some nits on copyright headers
> Source/WebCore/bindings/js/JSFloat64ArrayCustom.cpp:2 > + * Copyright (C) 2011 Apple Inc. All rights reserved.
think you mean Google
> Source/WebCore/bindings/v8/custom/V8Float64ArrayCustom.cpp:28 > + * > + * * Redistributions of source code must retain the above copyright > + * notice, this list of conditions and the following disclaimer. > + * * Redistributions in binary form must reproduce the above > + * copyright notice, this list of conditions and the following disclaimer > + * in the documentation and/or other materials provided with the > + * distribution. > + * * Neither the name of Google Inc. nor the names of its > + * contributors may be used to endorse or promote products derived from > + * this software without specific prior written permission. > + * > + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS > + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR > + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT > + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, > + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT > + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, > + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY > + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT > + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE > + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
wrong copyright header: should be 2-clause, etc (like the other files in this patch)
Kenneth Russell
Comment 10
2011-05-24 12:49:29 PDT
Comment on
attachment 94649
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=94649&action=review
>> Source/WebCore/bindings/js/JSFloat64ArrayCustom.cpp:2 >> + * Copyright (C) 2011 Apple Inc. All rights reserved. > > think you mean Google
Actually Apple is correct. This code was copied from JSFloat32ArrayCustom.cpp in the same directory.
>> Source/WebCore/bindings/v8/custom/V8Float64ArrayCustom.cpp:28 >> + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > > wrong copyright header: should be 2-clause, etc (like the other files in this patch)
Will fix upon landing.
Kenneth Russell
Comment 11
2011-05-24 13:41:58 PDT
Committed
r87197
: <
http://trac.webkit.org/changeset/87197
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug