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

Unified Diff: LayoutTests/fast/js/iterable-object.html

Issue 848673002: Add keys(), values() and entries() methods on iterable<> interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 | « no previous file | LayoutTests/fast/js/iterable-object-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/js/iterable-object.html
diff --git a/LayoutTests/fast/js/iterable-object.html b/LayoutTests/fast/js/iterable-object.html
index 0aa4b231718dd0e99f1f6ac6d35b3a093f640a18..70e481af7491b1f4fe2aaafb565767a8d754e52c 100644
--- a/LayoutTests/fast/js/iterable-object.html
+++ b/LayoutTests/fast/js/iterable-object.html
@@ -16,6 +16,18 @@ for (var value of internals[Symbol.iterator]()) {
debug('value = ' + value);
}
+for (var key of internals.keys()) {
+ debug('key = ' + key);
+}
+
+for (var value of internals.values()) {
+ debug('value = ' + value);
+}
+
+for (var entry of internals.entries()) {
+ debug('entry = ' + entry);
+}
+
</script>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/fast/js/iterable-object-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698