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

Unified Diff: LayoutTests/fast/js/script-tests/modify-non-references.js

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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/js/script-tests/modify-non-references.js
diff --git a/LayoutTests/fast/js/script-tests/modify-non-references.js b/LayoutTests/fast/js/script-tests/modify-non-references.js
deleted file mode 100644
index 7aeb75e98021b79403e489c5fe6e2251577a7272..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/script-tests/modify-non-references.js
+++ /dev/null
@@ -1,12 +0,0 @@
-shouldBe("function f() { g()++; } f.toString()", "'function f() { g()++; }'");
-shouldBe("function f() { g()--; } f.toString()", "'function f() { g()--; }'");
-shouldBe("function f() { ++g(); } f.toString()", "'function f() { ++g(); }'");
-shouldBe("function f() { --g(); } f.toString()", "'function f() { --g(); }'");
-shouldBe("function f() { g() = 1; } f.toString()", "'function f() { g() = 1; }'");
-shouldBe("function f() { g() += 1; } f.toString()", "'function f() { g() += 1; }'");
-shouldThrow("g()++", "'ReferenceError: Postfix ++ operator applied to value that is not a reference.'");
-shouldThrow("g()--", "'ReferenceError: Postfix -- operator applied to value that is not a reference.'");
-shouldThrow("++g()", "'ReferenceError: Prefix ++ operator applied to value that is not a reference.'");
-shouldThrow("--g()", "'ReferenceError: Prefix -- operator applied to value that is not a reference.'");
-shouldThrow("g() = 1", "'ReferenceError: Left side of assignment is not a reference.'");
-shouldThrow("g() += 1", "'ReferenceError: Left side of assignment is not a reference.'");

Powered by Google App Engine
This is Rietveld 408576698