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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/inspector/js_protocol.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after
910 value: rawInternalProperties[i + 1], 910 value: rawInternalProperties[i + 1],
911 isOwn: true, 911 isOwn: true,
912 enumerable: true, 912 enumerable: true,
913 __proto__: null 913 __proto__: null
914 }; 914 };
915 if (!addPropertyIfNeeded(descriptors, internalPropertyDescriptor )) 915 if (!addPropertyIfNeeded(descriptors, internalPropertyDescriptor ))
916 break; 916 break;
917 } 917 }
918 this._appendPropertyPreviewDescriptors(preview, descriptors, secondL evelKeys, isTable); 918 this._appendPropertyPreviewDescriptors(preview, descriptors, secondL evelKeys, isTable);
919 919
920 if (subtype === "map" || subtype === "set" || subtype === "iterator" ) 920 if (subtype === "map" || subtype === "set" || subtype === "weakmap" || subtype === "weakset" || subtype === "iterator")
921 this._appendEntriesPreview(entries, preview, skipEntriesPreview) ; 921 this._appendEntriesPreview(entries, preview, skipEntriesPreview) ;
922 922
923 } catch (e) {} 923 } catch (e) {}
924 924
925 return preview; 925 return preview;
926 926
927 /** 927 /**
928 * @param {!Array<!Object>} descriptors 928 * @param {!Array<!Object>} descriptors
929 * @param {!Object} descriptor 929 * @param {!Object} descriptor
930 * @return {boolean} 930 * @return {boolean}
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 return string.substr(0, leftHalf) + "\u2026" + string.substr(string. length - rightHalf, rightHalf); 1085 return string.substr(0, leftHalf) + "\u2026" + string.substr(string. length - rightHalf, rightHalf);
1086 } 1086 }
1087 return string.substr(0, maxLength) + "\u2026"; 1087 return string.substr(0, maxLength) + "\u2026";
1088 }, 1088 },
1089 1089
1090 __proto__: null 1090 __proto__: null
1091 } 1091 }
1092 1092
1093 return injectedScript; 1093 return injectedScript;
1094 }) 1094 })
OLDNEW
« 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