| 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 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 891 value: rawInternalProperties[i + 1], | 891 value: rawInternalProperties[i + 1], |
| 892 isOwn: true, | 892 isOwn: true, |
| 893 enumerable: true, | 893 enumerable: true, |
| 894 __proto__: null | 894 __proto__: null |
| 895 }; | 895 }; |
| 896 if (!addPropertyIfNeeded(descriptors, internalPropertyDescriptor
)) | 896 if (!addPropertyIfNeeded(descriptors, internalPropertyDescriptor
)) |
| 897 break; | 897 break; |
| 898 } | 898 } |
| 899 this._appendPropertyPreviewDescriptors(preview, descriptors, secondL
evelKeys, isTable); | 899 this._appendPropertyPreviewDescriptors(preview, descriptors, secondL
evelKeys, isTable); |
| 900 | 900 |
| 901 if (subtype === "map" || subtype === "set" || subtype === "weakmap"
|| subtype === "weakset" || subtype === "iterator") | 901 if (subtype === "map" || subtype === "set" || subtype === "weakmap"
|| subtype === "weakset" || subtype === "weakref" || subtype === "iterator") |
| 902 this._appendEntriesPreview(entries, preview, skipEntriesPreview)
; | 902 this._appendEntriesPreview(entries, preview, skipEntriesPreview)
; |
| 903 | 903 |
| 904 } catch (e) {} | 904 } catch (e) {} |
| 905 | 905 |
| 906 return preview; | 906 return preview; |
| 907 | 907 |
| 908 /** | 908 /** |
| 909 * @param {!Array<!Object>} descriptors | 909 * @param {!Array<!Object>} descriptors |
| 910 * @param {!Object} descriptor | 910 * @param {!Object} descriptor |
| 911 * @return {boolean} | 911 * @return {boolean} |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1067 return string.substr(0, leftHalf) + "\u2026" + string.substr(string.
length - rightHalf, rightHalf); | 1067 return string.substr(0, leftHalf) + "\u2026" + string.substr(string.
length - rightHalf, rightHalf); |
| 1068 } | 1068 } |
| 1069 return string.substr(0, maxLength) + "\u2026"; | 1069 return string.substr(0, maxLength) + "\u2026"; |
| 1070 }, | 1070 }, |
| 1071 | 1071 |
| 1072 __proto__: null | 1072 __proto__: null |
| 1073 } | 1073 } |
| 1074 | 1074 |
| 1075 return injectedScript; | 1075 return injectedScript; |
| 1076 }) | 1076 }) |
| OLD | NEW |