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

Unified Diff: LayoutTests/fast/js/script-tests/exception-properties.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/exception-properties.js
diff --git a/LayoutTests/fast/js/script-tests/exception-properties.js b/LayoutTests/fast/js/script-tests/exception-properties.js
deleted file mode 100644
index 43e115379747580784a6b9c2928bc5b65e21a042..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/script-tests/exception-properties.js
+++ /dev/null
@@ -1,23 +0,0 @@
-description("Test for correct properties on Error objects.");
-
-function enumerableProperties(object)
-{
- var result = [];
- for (var i in object)
- result.push(i);
- return result;
-}
-
-try {
- // generate a RangeError.
- [].length = -1;
-} catch (rangeError) {
- var nativeError = rangeError;
- var error = new Error("message");
-
- shouldBe('enumerableProperties(error)', '[]');
- shouldBe('enumerableProperties(nativeError)', '["stack", "line", "sourceURL"]');
-
- shouldBe('Object.getPrototypeOf(nativeError).name', '"RangeError"');
- shouldBe('Object.getPrototypeOf(nativeError).message', '""');
-}

Powered by Google App Engine
This is Rietveld 408576698