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

Unified Diff: LayoutTests/fast/js/array-foreach-expected.txt

Issue 14146002: Remove all generic expected results for which a generic Chromium expected result exists (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/array-foreach-expected.txt
diff --git a/LayoutTests/fast/js/array-foreach-expected.txt b/LayoutTests/fast/js/array-foreach-expected.txt
deleted file mode 100644
index 12a0166ff7dd3299ea9e758866ba4ceca80104b5..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/js/array-foreach-expected.txt
+++ /dev/null
@@ -1,64 +0,0 @@
-1.0 Single Argument Testing
-The following tests forEach with one argument, the callback. It should print the contents of the array [2, 5, 9] alongside each index.
-
-[0] is 2
-[1] is 5
-[2] is 9
-
-2.0 Two Argument Testing
-The following tests forEach with two arguments, the callback and the applied "this" object. It should print the contents of the array.
-
-2
-5
-9
-
-3.0 Array Mutation Tests
-These tests the affects of array mutation during execution of forEach.
-
-3.1 Array Element Removal
-This test removes elements from the array, these elements should thus not appear since forEach doesn't iterate over non-existing properties.
-
-[0] is 2
-[1] is 5
-
-3.2 Array Element Addition
-This test adds elements to the array, these elements should not appear since forEach uses the original length to create the range it iterates over. It should be identical to 1.0.
-
-[0] is 2
-[1] is 5
-[2] is 9
-
-3.3 Array Element Changing
-This test changes elements in the array, these elements should appear in their mutated form when reached by forEach.
-
-[0] is 2
-[1] is 5
-[2] is changed
-
-4.0 Exception Test
-This test uses a function that throws an exception, and thus halts the execution of forEach.
-
-[0] is 2
-[1] is 5
-Exception thrown, execution halted!
-
-5.0 Wrong Type for Callback Test This test sends in incorrect types for the callback parameter of forEach. An exception should be thrown in each case. There should be 6 type errors (and no crashes!):
-
-TypeError: Type error
-TypeError: Type error
-TypeError: Type error
-TypeError: Type error
-TypeError: Type error
-TypeError: Type error
-
-6.0 Behavior for Holes in Arrays
-This test checks that holes in arrays (indexes which have been deleted or are not present) are not included in enumeration:
-
-Manually deleted index not enumerated
-Array created using constructor has no properties, so no indexes enumerated
-
-7.0 Return Value
-This test checks that the return value of Array.prototype.forEach is undefined:
-
-Return value is undefined!
-
« no previous file with comments | « LayoutTests/fast/js/array-every-expected.txt ('k') | LayoutTests/fast/js/array-prototype-properties-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698