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

Side by Side Diff: LayoutTests/fast/js/script-tests/array-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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 description(
2 'This is a test case for <a https://bugs.webkit.org/show_bug.cgi?id=64679">bug 6 4679</a>.'
3 );
4
5 // These calls pass undefined as this value, and as such should throw in toObjec t.
6 shouldThrow("Array.prototype.toString.call(undefined)");
7 shouldThrow("Array.prototype.toLocaleString.call(undefined)");
8 shouldThrow("Array.prototype.concat.call(undefined, [])");
9 shouldThrow("Array.prototype.join.call(undefined, [])");
10 shouldThrow("Array.prototype.pop.call(undefined)");
11 shouldThrow("Array.prototype.push.call(undefined, {})");
12 shouldThrow("Array.prototype.reverse.call(undefined)");
13 shouldThrow("Array.prototype.shift.call(undefined)");
14 shouldThrow("Array.prototype.slice.call(undefined, 0, 1)");
15 shouldThrow("Array.prototype.sort.call(undefined)");
16 shouldThrow("Array.prototype.splice.call(undefined, 0, 1)");
17 shouldThrow("Array.prototype.unshift.call(undefined, {})");
18 shouldThrow("Array.prototype.every.call(undefined, toString)");
19 shouldThrow("Array.prototype.forEach.call(undefined, toString)");
20 shouldThrow("Array.prototype.some.call(undefined, toString)");
21 shouldThrow("Array.prototype.indexOf.call(undefined, 0)");
22 shouldThrow("Array.prototype.indlastIndexOfexOf.call(undefined, 0)");
23 shouldThrow("Array.prototype.filter.call(undefined, toString)");
24 shouldThrow("Array.prototype.reduce.call(undefined, toString)");
25 shouldThrow("Array.prototype.reduceRight.call(undefined, toString)");
26 shouldThrow("Array.prototype.map.call(undefined, toString)");
27
28 // Test exception ordering in Array.prototype.toLocaleString ( https://bugs.webk it.org/show_bug.cgi?id=80663 )
29 shouldThrow("[{toLocaleString:function(){throw 1}},{toLocaleString:function(){th row 2}}].toLocaleString()", '1');
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/script-tests/array-functions-non-arrays.js ('k') | LayoutTests/fast/js/script-tests/array-slow-put.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698