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

Unified Diff: third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js

Issue 2977463002: DevTools: use 'empty' for array holes (Closed)
Patch Set: Created 3 years, 5 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/sources/debugger-ui/debugger-inline-values-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/object_ui/RemoteObjectPreviewFormatter.js
diff --git a/third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js b/third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js
index 632b2de7ff3359dd4d3179d90faea3abdf5f70a3..34a4ebdc4acb49ea5ac65fe186c7fce6991647e4 100644
--- a/third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js
+++ b/third_party/WebKit/Source/devtools/front_end/object_ui/RemoteObjectPreviewFormatter.js
@@ -167,7 +167,7 @@ ObjectUI.RemoteObjectPreviewFormatter = class {
*/
function appendUndefined(index) {
var span = parentElement.createChild('span', 'object-value-undefined');
- span.textContent = Common.UIString('undefined × %d', index - lastNonEmptyArrayIndex - 1);
+ span.textContent = Common.UIString('empty × %d', index - lastNonEmptyArrayIndex - 1);
elementsAdded = true;
}
}
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/debugger-inline-values-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698