OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * Copyright (C) 2009 Joseph Pecoraro | 3 * Copyright (C) 2009 Joseph Pecoraro |
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 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
566 for (var i = 0; i < internalProperties.length; i++) { | 566 for (var i = 0; i < internalProperties.length; i++) { |
567 if (internalProperties[i].name == "[[TargetFunction]]") { | 567 if (internalProperties[i].name == "[[TargetFunction]]") { |
568 hasTargetFunction = true; | 568 hasTargetFunction = true; |
569 break; | 569 break; |
570 } | 570 } |
571 } | 571 } |
572 } | 572 } |
573 if (!hasTargetFunction) | 573 if (!hasTargetFunction) |
574 treeElement.appendChild(new WebInspector.FunctionScopeMainTreeElemen
t(value)); | 574 treeElement.appendChild(new WebInspector.FunctionScopeMainTreeElemen
t(value)); |
575 } | 575 } |
576 if (value && value.type === "object" && (value.subtype === "map" || value.su
btype === "set")) | 576 if (value && value.type === "object" && (value.subtype === "map" || value.su
btype === "set" || value.subtype === "iterator")) |
577 treeElement.appendChild(new WebInspector.CollectionEntriesMainTreeElemen
t(value)); | 577 treeElement.appendChild(new WebInspector.CollectionEntriesMainTreeElemen
t(value)); |
578 if (internalProperties) { | 578 if (internalProperties) { |
579 for (var i = 0; i < internalProperties.length; i++) { | 579 for (var i = 0; i < internalProperties.length; i++) { |
580 internalProperties[i].parentObject = value; | 580 internalProperties[i].parentObject = value; |
581 treeElement.appendChild(new treeElementConstructor(internalPropertie
s[i])); | 581 treeElement.appendChild(new treeElementConstructor(internalPropertie
s[i])); |
582 } | 582 } |
583 } | 583 } |
584 | 584 |
585 WebInspector.ObjectPropertyTreeElement._appendEmptyPlaceholderIfNeeded(treeE
lement, emptyPlaceholder); | 585 WebInspector.ObjectPropertyTreeElement._appendEmptyPlaceholderIfNeeded(treeE
lement, emptyPlaceholder); |
586 } | 586 } |
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1083 { | 1083 { |
1084 WebInspector.TextPrompt.call(this, WebInspector.ExecutionContextSelector.com
pletionsForTextPromptInCurrentContext); | 1084 WebInspector.TextPrompt.call(this, WebInspector.ExecutionContextSelector.com
pletionsForTextPromptInCurrentContext); |
1085 this.setSuggestBoxEnabled(true); | 1085 this.setSuggestBoxEnabled(true); |
1086 if (renderAsBlock) | 1086 if (renderAsBlock) |
1087 this.renderAsBlock(); | 1087 this.renderAsBlock(); |
1088 } | 1088 } |
1089 | 1089 |
1090 WebInspector.ObjectPropertyPrompt.prototype = { | 1090 WebInspector.ObjectPropertyPrompt.prototype = { |
1091 __proto__: WebInspector.TextPrompt.prototype | 1091 __proto__: WebInspector.TextPrompt.prototype |
1092 } | 1092 } |
OLD | NEW |