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

Unified Diff: LayoutTests/fast/js/iterable-object-expected.txt

Issue 807263007: IDL: Add forEach() method to iterable<>/maplike<>/setlike<> interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: adjust test expectations Created 5 years, 11 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
« no previous file with comments | « LayoutTests/fast/js/iterable-object.html ('k') | LayoutTests/http/tests/fetch/script-tests/headers.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/js/iterable-object-expected.txt
diff --git a/LayoutTests/fast/js/iterable-object-expected.txt b/LayoutTests/fast/js/iterable-object-expected.txt
index ad4327606e86873aca0ef0810ff05557179dff44..c7ab50835fbb396df97ee2b58f24109472359157 100644
--- a/LayoutTests/fast/js/iterable-object-expected.txt
+++ b/LayoutTests/fast/js/iterable-object-expected.txt
@@ -29,6 +29,39 @@ entry = 1,1
entry = 2,4
entry = 3,9
entry = 4,16
+PASS internals.forEach("not a function") threw exception TypeError: Failed to execute 'forEach' on 'Internals': The callback provided as parameter 1 is not a function..
+callback called
+PASS internals.forEach(function () { debug("callback called"); throw Error("stop!"); }) threw exception Error: stop!.
+thisArg, 0, 0, [object Internals]
+thisArg, 1, 1, [object Internals]
+thisArg, 4, 2, [object Internals]
+thisArg, 9, 3, [object Internals]
+thisArg, 16, 4, [object Internals]
+0: [object Window]
+1: [object Window]
+4: [object Window]
+9: [object Window]
+16: [object Window]
+0: [object Window]
+1: [object Window]
+4: [object Window]
+9: [object Window]
+16: [object Window]
+0: undefined
+1: undefined
+4: undefined
+9: undefined
+16: undefined
+0: null
+1: null
+4: null
+9: null
+16: null
+0: number
+1: number
+4: number
+9: number
+16: number
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/fast/js/iterable-object.html ('k') | LayoutTests/http/tests/fetch/script-tests/headers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698