Changeset 48024 in webkit
- Timestamp:
- Sep 3, 2009 9:54:49 AM (15 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r48022 r48024 1 2009-09-03 Pavel Feldman <pfeldman@chromium.org> 2 3 Reviewed by Timothy Hatcher. 4 5 WebInspector: Do not query non-function call frames for function name. 6 7 https://bugs.webkit.org/show_bug.cgi?id=28799 8 9 * inspector/front-end/InjectedScript.js: 10 (InjectedScript.CallFrameProxy): 11 (InjectedScript.CallFrameProxy.prototype._wrapScopeChain): 12 1 13 2009-09-03 Pavel Feldman <pfeldman@chromium.org> 2 14 -
trunk/WebCore/inspector/front-end/InjectedScript.js
r48022 r48024 959 959 this.id = id; 960 960 this.type = callFrame.type; 961 this.functionName = callFrame.functionName;961 this.functionName = (this.type === "function" ? callFrame.functionName : ""); 962 962 this.sourceID = callFrame.sourceID; 963 963 this.line = callFrame.line; … … 974 974 var scopeObject = scopeChain[i]; 975 975 var scopeObjectProxy = InjectedScript.createProxyObject(scopeObject, { callFrame: this.id, chainIndex: i }); 976 976 977 if (Object.prototype.toString.call(scopeObject) === "[object JSActivation]") { 977 978 if (!foundLocalScope) … … 985 986 else if (foundLocalScope && scopeObject instanceof InjectedScript._window().Document) 986 987 scopeObjectProxy.isDocument = true; 987 else if (!foundLocalScope && !localScope)988 else if (!foundLocalScope) 988 989 scopeObjectProxy.isWithBlock = true; 989 990 scopeObjectProxy.properties = [];
Note: See TracChangeset
for help on using the changeset viewer.