Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(608)

Side by Side Diff: LayoutTests/fast/js/function-apply-expected.txt

Issue 14891003: The first in a series of mass rebaselines. I tried to avoid (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 Tests to ensure that Function.apply works correctly for Arrays, arguments and ar ray-like objects. 1 Tests to ensure that Function.apply works correctly for Arrays, arguments and ar ray-like objects.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS argumentsApply1(1, 2, 3) is 1 6 PASS argumentsApply1(1, 2, 3) is 1
7 PASS argumentsApply2(1, 2, 3) is 2 7 PASS argumentsApply2(1, 2, 3) is 2
8 PASS argumentsApply3(1, 2, 3) is 3 8 PASS argumentsApply3(1, 2, 3) is 3
9 PASS argumentsApplyLength(1, 2, 3) is 3 9 PASS argumentsApplyLength(1, 2, 3) is 3
10 PASS argumentsApplyExcessArguments(1, 2, 3) is 3 10 PASS argumentsApplyExcessArguments(1, 2, 3) is 3
(...skipping 15 matching lines...) Expand all
26 PASS argumentsApplyChangeLength3(1) is 2 26 PASS argumentsApplyChangeLength3(1) is 2
27 PASS argumentsApplyChangeLength4(1) is 0 27 PASS argumentsApplyChangeLength4(1) is 0
28 PASS argumentsApplyChangeLength5(1) is 0 28 PASS argumentsApplyChangeLength5(1) is 0
29 PASS arrayApplyChangeLength1() is 2 29 PASS arrayApplyChangeLength1() is 2
30 PASS arrayApplyChangeLength2() is 2 30 PASS arrayApplyChangeLength2() is 2
31 PASS arrayApplyChangeLength3() is 2 31 PASS arrayApplyChangeLength3() is 2
32 PASS arrayApplyChangeLength4() is 0 32 PASS arrayApplyChangeLength4() is 0
33 PASS var a = []; a.length = 0xFFFE; [].constructor.apply('', a).length is 0xFFFE 33 PASS var a = []; a.length = 0xFFFE; [].constructor.apply('', a).length is 0xFFFE
34 PASS var a = []; a.length = 0xFFFF; [].constructor.apply('', a).length is 0xFFFF 34 PASS var a = []; a.length = 0xFFFF; [].constructor.apply('', a).length is 0xFFFF
35 PASS var a = []; a.length = 0x10000; [].constructor.apply('', a).length is 0x100 00 35 PASS var a = []; a.length = 0x10000; [].constructor.apply('', a).length is 0x100 00
36 PASS var a = []; a.length = 0x10001; [].constructor.apply('', a).length threw ex ception RangeError: Maximum call stack size exceeded.. 36 FAIL var a = []; a.length = 0x10001; [].constructor.apply('', a).length should t hrow an exception. Was 65537.
37 PASS var a = []; a.length = 0xFFFFFFFE; [].constructor.apply('', a).length threw exception RangeError: Maximum call stack size exceeded.. 37 PASS var a = []; a.length = 0xFFFFFFFE; [].constructor.apply('', a).length threw exception RangeError: Maximum call stack size exceeded.
38 PASS var a = []; a.length = 0xFFFFFFFF; [].constructor.apply('', a).length threw exception RangeError: Maximum call stack size exceeded.. 38 PASS var a = []; a.length = 0xFFFFFFFF; [].constructor.apply('', a).length threw exception RangeError: Maximum call stack size exceeded.
39 PASS (function(a,b,c,d){ return d ? -1 : (a+b+c); }).apply(undefined, {length:3, 0:100, 1:20, 2:3}) is 123 39 PASS (function(a,b,c,d){ return d ? -1 : (a+b+c); }).apply(undefined, {length:3, 0:100, 1:20, 2:3}) is 123
40 PASS successfullyParsed is true 40 PASS successfullyParsed is true
41 41
42 TEST COMPLETE 42 TEST COMPLETE
43 43
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/excessive-comma-usage-expected.txt ('k') | LayoutTests/fast/js/getOwnPropertyDescriptor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698