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

Unified Diff: src/inspector/injected-script-source.js

Issue 2770583002: [inspector] description for weak collections should not contain size (Closed)
Patch Set: added to protocol Created 3 years, 9 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 | src/inspector/js_protocol.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/injected-script-source.js
diff --git a/src/inspector/injected-script-source.js b/src/inspector/injected-script-source.js
index cc85c0b7f03ff378dc613cab59abced3a3badc31..0e305826c02bd2a1b5b03d8e00d7e3b78270cedd 100644
--- a/src/inspector/injected-script-source.js
+++ b/src/inspector/injected-script-source.js
@@ -917,7 +917,7 @@ InjectedScript.RemoteObject.prototype = {
}
this._appendPropertyPreviewDescriptors(preview, descriptors, secondLevelKeys, isTable);
- if (subtype === "map" || subtype === "set" || subtype === "iterator")
+ if (subtype === "map" || subtype === "set" || subtype === "weakmap" || subtype === "weakset" || subtype === "iterator")
this._appendEntriesPreview(entries, preview, skipEntriesPreview);
} catch (e) {}
« no previous file with comments | « no previous file | src/inspector/js_protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698