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

Unified Diff: third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js

Issue 2378183002: DevTools: console.dirxml() stops using XML format for array entries (Closed)
Patch Set: Created 4 years, 3 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 | « third_party/WebKit/LayoutTests/inspector/console/console-dirxml-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
index b5d8d190ed0a097b7d21663146d2a424c64242b2..ce85acf028ebbed2749e7eea311b453a671f1db6 100644
--- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
+++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleViewMessage.js
@@ -705,10 +705,6 @@ WebInspector.ConsoleViewMessage.prototype = {
*/
_formatAsArrayEntry: function(output)
{
- if (this._message.type === WebInspector.ConsoleMessage.MessageType.DirXML) {
- // Prevent infinite expansion of cross-referencing arrays.
- return this._formatParameter(output, output.subtype === "array" || output.subtype === "typedarray", false);
- }
return this._previewFormatter.renderPropertyPreview(output.type, output.subtype, output.description);
},
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/console/console-dirxml-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698