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

Unified Diff: third_party/WebKit/LayoutTests/inspector/console/console-format-table.html

Issue 2918993003: DevTools: allow shallow array values in console.table (Closed)
Patch Set: ac Created 3 years, 7 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 | third_party/WebKit/LayoutTests/inspector/console/console-format-table-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/console/console-format-table.html
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-format-table.html b/third_party/WebKit/LayoutTests/inspector/console/console-format-table.html
index 8fc891a6ca07fa5bcb4c7536ed91be777d3a5e59..ff90551a2d367509fe9848301736f7385bae0292 100644
--- a/third_party/WebKit/LayoutTests/inspector/console/console-format-table.html
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-format-table.html
@@ -41,6 +41,15 @@ function logToConsole()
console.log("Missing column name");
console.table([{a:1, b:2, c:3}, {a:"foo"}], ["d"]);
+
+ console.log("Shallow array");
+ console.table([1, "foo", null]);
+
+ console.log("Shallow array with 'Value' column");
+ console.table([1, {Value: 2}]);
+
+ console.log("Deep and shallow array");
+ console.table([1, "foo", [2]]);
}
function onload()
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-format-table-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698