Changeset 102140 in webkit
- Timestamp:
- Dec 6, 2011 8:16:44 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r102132 r102140 1 2011-12-06 Yury Semikhatsky <yurys@chromium.org> 2 3 [Chromium] Web Inspector: getFunctionLocation should return scriptId as String not as int 4 https://bugs.webkit.org/show_bug.cgi?id=73892 5 6 Reviewed by Pavel Feldman. 7 8 * bindings/v8/custom/V8InjectedScriptHostCustom.cpp: 9 (WebCore::V8InjectedScriptHost::functionLocationCallback): scriptId should be a string not a number 10 * inspector/Inspector.json: removed unused parameter 11 1 12 2011-11-21 Balazs Kelemen <kbalazs@webkit.org> 2 13 -
trunk/Source/WebCore/bindings/v8/custom/V8InjectedScriptHostCustom.cpp
r100113 r102140 168 168 result->Set(v8::String::New("lineNumber"), v8::Integer::New(lineNumber)); 169 169 result->Set(v8::String::New("columnNumber"), v8::Integer::New(columnNumber)); 170 result->Set(v8::String::New("scriptId"), function->GetScriptId() );170 result->Set(v8::String::New("scriptId"), function->GetScriptId()->ToString()); 171 171 return result; 172 172 } -
trunk/Source/WebCore/inspector/Inspector.json
r101756 r102140 297 297 { "name": "value", "type": "any", "optional": true, "description": "Remote object value (in case of primitive values or JSON values if it was requested)." }, 298 298 { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." }, 299 { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Unique object identifier (for non-primitive values)." }, 300 { "name": "functionLocation", "$ref": "Debugger.Location", "optional": true, "description": "Function location within owning script." } 299 { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Unique object identifier (for non-primitive values)." } 301 300 ] 302 301 },
Note: See TracChangeset
for help on using the changeset viewer.