[Webkit-unassigned] [Bug 148035] [ES6] Add TypedArray.prototype functionality.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 14 14:14:14 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148035
--- Comment #2 from Sam Weinig <sam at webkit.org> ---
Comment on attachment 259030
--> https://bugs.webkit.org/attachment.cgi?id=259030
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=259030&action=review
> Source/JavaScriptCore/builtins/TypedArray.prototype.js:30
> +function every(callback /*, thisArg */) {
> + "use strict";
> + var length = @typedArrayLength(this);
I recently unified our style for the builtins to be:
function functionName(arguments)
{
"use strict";
rest of function goes here
}
It would be great if we could keep it consistent.
> Source/JavaScriptCore/builtins/TypedArray.prototype.js:98
> + for (var i = 0; i < length; i++)
> + if (callback. at call(thisArg, this[i], i, this))
> + return true;
This for loop should have braces.
> Source/JavaScriptCore/runtime/JSGenericTypedArrayViewInlines.h:343
> + // This is matching FireFox behavior. In particular, it rejects all attempts to
This seems unrelated and I don't think it is correct. Firefox is spelled as one word.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150814/174be380/attachment.html>
More information about the webkit-unassigned
mailing list