OLD | NEW |
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 Loading... |
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 Loading... |
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 }) |
OLD | NEW |