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 126588
js/script-tests/function-apply-many-args.js fails on ARM
https://bugs.webkit.org/show_bug.cgi?id=126588
Summary
js/script-tests/function-apply-many-args.js fails on ARM
Michael Saboff
Reported
2014-01-07 12:10:41 PST
It appears that the native C stack is too small top properly run function-apply-many-args.js. When run on ARM64 with a ~1M stack, the output is: Tests that we throw an error when passing a number of arguments beyond a certain threshold. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". PASS f.apply(null) is 0 PASS f.apply(null, []) is 0 PASS f.apply(null, [1]) is 1 PASS f.apply(null, new Array(10)) is 10 PASS f.apply(null, new Array(1000)) is 1000 PASS f.apply(null, new Array(65536)) is 65536 PASS f.apply(null, new Array(65537)) threw exception RangeError: Maximum call stack size exceeded.. PASS f.apply(null, new Array(65537)) threw exception RangeError: Maximum call stack size exceeded.. PASS f.apply(null, bigArray) threw exception RangeError: Maximum call stack size exceeded.. PASS g.apply(null) is 0 PASS g.apply(null, []) is 0 PASS g.apply(null, [1]) is 1 PASS g.apply(null, new Array(10)) is 10 PASS g.apply(null, new Array(1000)) is 1000 FAIL g.apply(null, new Array(65536)) should be 65536. Threw exception RangeError: Maximum call stack size exceeded. PASS g.apply(null, new Array(65537)) threw exception RangeError: Maximum call stack size exceeded.. PASS g.apply(null, new Array(65537)) threw exception RangeError: Maximum call stack size exceeded.. PASS g.apply(null, bigArray) threw exception RangeError: Maximum call stack size exceeded.. ...
Attachments
Patch
(4.02 KB, patch)
2014-06-30 15:08 PDT
,
Michael Saboff
mark.lam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Michael Saboff
Comment 1
2014-06-30 15:08:07 PDT
Created
attachment 234099
[details]
Patch
Mark Lam
Comment 2
2014-06-30 15:11:20 PDT
Comment on
attachment 234099
[details]
Patch r=me
Michael Saboff
Comment 3
2014-06-30 15:14:10 PDT
Committed
r170602
: <
http://trac.webkit.org/changeset/170602
>
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