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

Side by Side Diff: LayoutTests/fast/js/caller-property-expected.txt

Issue 20867002: Remove old tests that have been migrated to the v8 repo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unused script-tests as well Created 7 years, 5 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
« no previous file with comments | « LayoutTests/fast/js/caller-property.html ('k') | LayoutTests/fast/js/date-big-setmonth.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 This tests for caller property in functions. Only functions that are called from inside of other functions and have a parent should have this property set. Test s return true when caller is found and false when the caller is null.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS childHasCallerWhenExecutingGlobalCode is false
7 PASS childHasCallerWhenCalledWithoutParent is false
8 PASS childHasCallerWhenCalledFromWithinParent is true
9 PASS nonStrictCaller(nonStrictCallee) is nonStrictCaller
10 FAIL nonStrictCaller(strictCallee) should throw TypeError: Type error. Threw exc eption TypeError: 'caller', 'callee', and 'arguments' properties may not be acce ssed on strict mode functions or the arguments objects for calls to them.
11 FAIL strictCaller(nonStrictCallee) should throw TypeError: Function.caller used to retrieve strict caller. Was null.
12 FAIL strictCaller(strictCallee) should throw TypeError: Type error. Threw except ion TypeError: 'caller', 'callee', and 'arguments' properties may not be accesse d on strict mode functions or the arguments objects for calls to them.
13 PASS nonStrictCaller(boundNonStrictCallee) is nonStrictCaller
14 FAIL nonStrictCaller(boundStrictCallee) should throw TypeError: Type error. Thre w exception TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them.
15 FAIL strictCaller(boundNonStrictCallee) should throw TypeError: Function.caller used to retrieve strict caller. Was null.
16 FAIL strictCaller(boundStrictCallee) should throw TypeError: Type error. Threw e xception TypeError: 'caller', 'callee', and 'arguments' properties may not be ac cessed on strict mode functions or the arguments objects for calls to them.
17 PASS nonStrictGetter(nonStrictAccessor) is nonStrictGetter
18 PASS nonStrictSetter(nonStrictAccessor) is true
19 FAIL nonStrictGetter(strictAccessor) should throw TypeError: Type error. Threw e xception TypeError: 'caller', 'callee', and 'arguments' properties may not be ac cessed on strict mode functions or the arguments objects for calls to them.
20 FAIL nonStrictSetter(strictAccessor) should throw TypeError: Type error. Threw e xception TypeError: 'caller', 'callee', and 'arguments' properties may not be ac cessed on strict mode functions or the arguments objects for calls to them.
21 FAIL strictGetter(nonStrictAccessor) should throw TypeError: Function.caller use d to retrieve strict caller. Was null.
22 FAIL strictSetter(nonStrictAccessor) should throw TypeError: Function.caller use d to retrieve strict caller. Was undefined.
23 FAIL strictGetter(strictAccessor) should throw TypeError: Type error. Threw exce ption TypeError: 'caller', 'callee', and 'arguments' properties may not be acces sed on strict mode functions or the arguments objects for calls to them.
24 FAIL strictSetter(strictAccessor) should throw TypeError: Type error. Threw exce ption TypeError: 'caller', 'callee', and 'arguments' properties may not be acces sed on strict mode functions or the arguments objects for calls to them.
25 PASS successfullyParsed is true
26
27 TEST COMPLETE
28
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/caller-property.html ('k') | LayoutTests/fast/js/date-big-setmonth.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698