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

Side by Side Diff: LayoutTests/fast/js/toString-prefix-postfix-preserve-parens-expected.txt

Issue 14146002: Remove all generic expected results for which a generic Chromium expected result exists (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
(Empty)
1 This test checks that toString() round-trip on a function that has prefix, postf ix and typeof operators applied to group expression will not remove the grouping . Also checks that evaluation of such a expression produces run-time exception
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS unevalf(eval(unevalf(prefix_should_preserve_parens))) is unevalf(prefix_sho uld_preserve_parens)
7 PASS /.*\(+x\)*, y\)/.test(unevalf(prefix_should_preserve_parens)) is true
8 PASS prefix_should_preserve_parens(1, 2, 3); threw exception ReferenceError: Pre fix ++ operator applied to value that is not a reference..
9 PASS eval(unevalf(prefix_should_preserve_parens))(1, 2, 3); threw exception Refe renceError: Prefix ++ operator applied to value that is not a reference..
10 PASS unevalf(eval(unevalf(postfix_should_preserve_parens))) is unevalf(postfix_s hould_preserve_parens)
11 PASS /.*\(+x\)*, y\)/.test(unevalf(postfix_should_preserve_parens)) is true
12 PASS postfix_should_preserve_parens(1, 2, 3); threw exception ReferenceError: Po stfix ++ operator applied to value that is not a reference..
13 PASS eval(unevalf(postfix_should_preserve_parens))(1, 2, 3); threw exception Ref erenceError: Postfix ++ operator applied to value that is not a reference..
14 PASS unevalf(eval(unevalf(both_should_preserve_parens))) is unevalf(both_should_ preserve_parens)
15 PASS /.*\(+x\)*, y\)/.test(unevalf(both_should_preserve_parens)) is true
16 PASS both_should_preserve_parens(1, 2, 3); threw exception ReferenceError: Prefi x ++ operator applied to value that is not a reference..
17 PASS eval(unevalf(both_should_preserve_parens))(1, 2, 3); threw exception Refere nceError: Prefix ++ operator applied to value that is not a reference..
18 PASS unevalf(eval(unevalf(prefix_should_preserve_parens_multi))) is unevalf(pref ix_should_preserve_parens_multi)
19 PASS /.*\(+x\)*, y\)/.test(unevalf(prefix_should_preserve_parens_multi)) is true
20 PASS prefix_should_preserve_parens_multi(1, 2, 3); threw exception ReferenceErro r: Prefix -- operator applied to value that is not a reference..
21 PASS eval(unevalf(prefix_should_preserve_parens_multi))(1, 2, 3); threw exceptio n ReferenceError: Prefix -- operator applied to value that is not a reference..
22 PASS unevalf(eval(unevalf(postfix_should_preserve_parens_multi))) is unevalf(pos tfix_should_preserve_parens_multi)
23 PASS /.*\(+x\)*, y\)/.test(unevalf(postfix_should_preserve_parens_multi)) is tru e
24 PASS postfix_should_preserve_parens_multi(1, 2, 3); threw exception ReferenceErr or: Postfix -- operator applied to value that is not a reference..
25 PASS eval(unevalf(postfix_should_preserve_parens_multi))(1, 2, 3); threw excepti on ReferenceError: Postfix -- operator applied to value that is not a reference. .
26 PASS unevalf(eval(unevalf(prefix_should_preserve_parens_multi1))) is unevalf(pre fix_should_preserve_parens_multi1)
27 PASS /.*\(+x\)*, y\)/.test(unevalf(prefix_should_preserve_parens_multi1)) is tru e
28 PASS prefix_should_preserve_parens_multi1(1, 2, 3); threw exception ReferenceErr or: Prefix -- operator applied to value that is not a reference..
29 PASS eval(unevalf(prefix_should_preserve_parens_multi1))(1, 2, 3); threw excepti on ReferenceError: Prefix -- operator applied to value that is not a reference..
30 PASS unevalf(eval(unevalf(postfix_should_preserve_parens_multi1))) is unevalf(po stfix_should_preserve_parens_multi1)
31 PASS /.*\(+x\)*, y\)/.test(unevalf(postfix_should_preserve_parens_multi1)) is tr ue
32 PASS postfix_should_preserve_parens_multi1(1, 2, 3); threw exception ReferenceEr ror: Postfix -- operator applied to value that is not a reference..
33 PASS eval(unevalf(postfix_should_preserve_parens_multi1))(1, 2, 3); threw except ion ReferenceError: Postfix -- operator applied to value that is not a reference ..
34 PASS unevalf(eval(unevalf(prefix_should_preserve_parens_multi2))) is unevalf(pre fix_should_preserve_parens_multi2)
35 PASS /.*\(+x\)*, y\)/.test(unevalf(prefix_should_preserve_parens_multi2)) is tru e
36 PASS prefix_should_preserve_parens_multi2(1, 2, 3); threw exception ReferenceErr or: Prefix -- operator applied to value that is not a reference..
37 PASS eval(unevalf(prefix_should_preserve_parens_multi2))(1, 2, 3); threw excepti on ReferenceError: Prefix -- operator applied to value that is not a reference..
38 PASS unevalf(eval(unevalf(postfix_should_preserve_parens_multi2))) is unevalf(po stfix_should_preserve_parens_multi2)
39 PASS /.*\(+x\)*, y\)/.test(unevalf(postfix_should_preserve_parens_multi2)) is tr ue
40 PASS postfix_should_preserve_parens_multi2(1, 2, 3); threw exception ReferenceEr ror: Postfix ++ operator applied to value that is not a reference..
41 PASS eval(unevalf(postfix_should_preserve_parens_multi2))(1, 2, 3); threw except ion ReferenceError: Postfix ++ operator applied to value that is not a reference ..
42 PASS unevalf(eval(unevalf(typeof_should_preserve_parens))) is unevalf(typeof_sho uld_preserve_parens)
43 PASS /.*\(+x\)*, y\)/.test(unevalf(typeof_should_preserve_parens)) is true
44 PASS typeof_should_preserve_parens('a', 1); is 'number'
45 PASS eval(unevalf(typeof_should_preserve_parens))('a', 1); is 'number'
46 PASS unevalf(eval(unevalf(typeof_should_preserve_parens1))) is unevalf(typeof_sh ould_preserve_parens1)
47 PASS /.*\(+x\)*, y\)/.test(unevalf(typeof_should_preserve_parens1)) is true
48 PASS typeof_should_preserve_parens1('a', 1); is 'number'
49 PASS eval(unevalf(typeof_should_preserve_parens1))('a', 1); is 'number'
50 PASS unevalf(eval(unevalf(typeof_should_preserve_parens2))) is unevalf(typeof_sh ould_preserve_parens2)
51 PASS /.*\(+x\)*, y\)/.test(unevalf(typeof_should_preserve_parens2)) is true
52 PASS typeof_should_preserve_parens2('a', 1); is 'number'
53 PASS eval(unevalf(typeof_should_preserve_parens2))('a', 1); is 'number'
54 PASS unevalf(eval(unevalf(typeof_should_preserve_parens_multi))) is unevalf(type of_should_preserve_parens_multi)
55 PASS /.*\(+x\)*, y\)/.test(unevalf(typeof_should_preserve_parens_multi)) is true
56 PASS typeof_should_preserve_parens_multi('a', 1); is 'number'
57 PASS eval(unevalf(typeof_should_preserve_parens_multi))('a', 1); is 'number'
58 PASS successfullyParsed is true
59
60 TEST COMPLETE
61
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/string-prototype-properties-expected.txt ('k') | LayoutTests/fast/js/toString-stack-overflow-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698