| 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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 var hasTargetFunction = false; | 542 var hasTargetFunction = false; |
| 543 | 543 |
| 544 if (internalProperties) { | 544 if (internalProperties) { |
| 545 for (var i = 0; i < internalProperties.length; i++) { | 545 for (var i = 0; i < internalProperties.length; i++) { |
| 546 if (internalProperties[i].name == "[[TargetFunction]]") { | 546 if (internalProperties[i].name == "[[TargetFunction]]") { |
| 547 hasTargetFunction = true; | 547 hasTargetFunction = true; |
| 548 break; | 548 break; |
| 549 } | 549 } |
| 550 } | 550 } |
| 551 } | 551 } |
| 552 if (!hasTargetFunction) | 552 if (!hasTargetFunction && value.language != 'dart') |
| 553 treeElement.appendChild(new WebInspector.FunctionScopeMainTreeElemen
t(value)); | 553 treeElement.appendChild(new WebInspector.FunctionScopeMainTreeElemen
t(value)); |
| 554 } | 554 } |
| 555 if (internalProperties) { | 555 if (internalProperties) { |
| 556 for (var i = 0; i < internalProperties.length; i++) { | 556 for (var i = 0; i < internalProperties.length; i++) { |
| 557 internalProperties[i].parentObject = value; | 557 internalProperties[i].parentObject = value; |
| 558 treeElement.appendChild(new treeElementConstructor(internalPropertie
s[i])); | 558 treeElement.appendChild(new treeElementConstructor(internalPropertie
s[i])); |
| 559 } | 559 } |
| 560 } | 560 } |
| 561 } | 561 } |
| 562 | 562 |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 985 { | 985 { |
| 986 WebInspector.TextPrompt.call(this, WebInspector.ExecutionContextSelector.com
pletionsForTextPromptInCurrentContext); | 986 WebInspector.TextPrompt.call(this, WebInspector.ExecutionContextSelector.com
pletionsForTextPromptInCurrentContext); |
| 987 this.setSuggestBoxEnabled(true); | 987 this.setSuggestBoxEnabled(true); |
| 988 if (renderAsBlock) | 988 if (renderAsBlock) |
| 989 this.renderAsBlock(); | 989 this.renderAsBlock(); |
| 990 } | 990 } |
| 991 | 991 |
| 992 WebInspector.ObjectPropertyPrompt.prototype = { | 992 WebInspector.ObjectPropertyPrompt.prototype = { |
| 993 __proto__: WebInspector.TextPrompt.prototype | 993 __proto__: WebInspector.TextPrompt.prototype |
| 994 } | 994 } |
| OLD | NEW |