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

Unified Diff: LayoutTests/fast/js/script-tests/object-prototype-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/object-prototype-properties.js
diff --git a/LayoutTests/fast/js/script-tests/object-prototype-properties.js b/LayoutTests/fast/js/script-tests/object-prototype-properties.js
deleted file mode 100644
index b96755821c9c71b01d3a4d25b9ec71f4dd11d9f1..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/script-tests/object-prototype-properties.js
+++ /dev/null
@@ -1,14 +0,0 @@
-description(
-'This is a test case for <a https://bugs.webkit.org/show_bug.cgi?id=64678">bug 64678</a>.'
-);
-
-//ES 5.1 allows for Object.prototype.toString being called with undefined/null.
-shouldBe("Object.prototype.toString.call(undefined)", '"[object Undefined]"');
-shouldBe("Object.prototype.toString.call(null)", '"[object Null]"');
-
-// These calls pass undefined as this value, and as such should throw in toObject.
-shouldThrow("Object.prototype.toLocaleString.call(undefined)");
-shouldThrow("Object.prototype.valueOf.call(undefined)");
-shouldThrow("Object.prototype.hasOwnProperty.call(undefined, 'hasOwnProperty')");
-shouldThrow("Object.prototype.propertyIsEnumerable.call(undefined, 'propertyIsEnumerable')");
-shouldThrow("Object.prototype.isPrototypeOf.call(undefined, this)");

Powered by Google App Engine
This is Rietveld 408576698