WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 163354
Rename variables in arrayProtoFuncSplice() to match names in the spec.
https://bugs.webkit.org/show_bug.cgi?id=163354
Summary
Rename variables in arrayProtoFuncSplice() to match names in the spec.
Mark Lam
Reported
2016-10-12 13:46:23 PDT
This will make it easier to see whether the code matches the spec or not. Ref:
https://tc39.github.io/ecma262/#sec-array.prototype.splice
Attachments
proposed patch.
(5.76 KB, patch)
2016-10-12 13:47 PDT
,
Mark Lam
no flags
Details
Formatted Diff
Diff
proposed patch.
(5.77 KB, patch)
2016-10-12 13:52 PDT
,
Mark Lam
saam
: review-
Details
Formatted Diff
Diff
proposed patch.
(5.76 KB, patch)
2016-10-12 13:57 PDT
,
Mark Lam
saam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Mark Lam
Comment 1
2016-10-12 13:47:42 PDT
Created
attachment 291389
[details]
proposed patch.
Mark Lam
Comment 2
2016-10-12 13:52:55 PDT
Created
attachment 291391
[details]
proposed patch.
Saam Barati
Comment 3
2016-10-12 13:55:20 PDT
Comment on
attachment 291391
[details]
proposed patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=291391&action=review
> Source/JavaScriptCore/runtime/ArrayPrototype.cpp:972 > + unsigned itemCount = std::max<unsigned>(exec->argumentCount() - 2, 0);
this doesn't seem correct.
Mark Lam
Comment 4
2016-10-12 13:57:40 PDT
Created
attachment 291392
[details]
proposed patch. Thanks for catching the bad cast. It's fixed.
Mark Lam
Comment 5
2016-10-12 14:04:13 PDT
Thanks for the review. Landed in
r207241
: <
http://trac.webkit.org/r207241
>.
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