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

Side by Side Diff: LayoutTests/fast/js/modify-non-references-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
OLDNEW
(Empty)
1 PASS function f() { g()++; } f.toString() is 'function f() { g()++; }'
2 PASS function f() { g()--; } f.toString() is 'function f() { g()--; }'
3 PASS function f() { ++g(); } f.toString() is 'function f() { ++g(); }'
4 PASS function f() { --g(); } f.toString() is 'function f() { --g(); }'
5 PASS function f() { g() = 1; } f.toString() is 'function f() { g() = 1; }'
6 PASS function f() { g() += 1; } f.toString() is 'function f() { g() += 1; }'
7 FAIL g()++ should throw ReferenceError: Postfix ++ operator applied to value tha t is not a reference.. Threw exception ReferenceError: Invalid left-hand side ex pression in postfix operation.
8 FAIL g()-- should throw ReferenceError: Postfix -- operator applied to value tha t is not a reference.. Threw exception ReferenceError: Invalid left-hand side ex pression in postfix operation.
9 FAIL ++g() should throw ReferenceError: Prefix ++ operator applied to value that is not a reference.. Threw exception ReferenceError: Invalid left-hand side exp ression in prefix operation.
10 FAIL --g() should throw ReferenceError: Prefix -- operator applied to value that is not a reference.. Threw exception ReferenceError: Invalid left-hand side exp ression in prefix operation.
11 FAIL g() = 1 should throw ReferenceError: Left side of assignment is not a refer ence.. Threw exception ReferenceError: Invalid left-hand side in assignment.
12 FAIL g() += 1 should throw ReferenceError: Left side of assignment is not a refe rence.. Threw exception ReferenceError: Invalid left-hand side in assignment.
13 PASS successfullyParsed is true
14
15 TEST COMPLETE
16
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/modify-non-references.html ('k') | LayoutTests/fast/js/native-error-prototype.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698