Changeset 102140 in webkit


Ignore:
Timestamp:
Dec 6, 2011 8:16:44 AM (12 years ago)
Author:
yurys@chromium.org
Message:

[Chromium] Web Inspector: getFunctionLocation should return scriptId as String not as int
https://bugs.webkit.org/show_bug.cgi?id=73892

Reviewed by Pavel Feldman.

  • bindings/v8/custom/V8InjectedScriptHostCustom.cpp:

(WebCore::V8InjectedScriptHost::functionLocationCallback): scriptId should be a string not a number

  • inspector/Inspector.json: removed unused parameter
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r102132 r102140  
     12011-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
    1122011-11-21  Balazs Kelemen  <kbalazs@webkit.org>
    213
  • trunk/Source/WebCore/bindings/v8/custom/V8InjectedScriptHostCustom.cpp

    r100113 r102140  
    168168    result->Set(v8::String::New("lineNumber"), v8::Integer::New(lineNumber));
    169169    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());
    171171    return result;
    172172}
  • trunk/Source/WebCore/inspector/Inspector.json

    r101756 r102140  
    297297                    { "name": "value", "type": "any", "optional": true, "description": "Remote object value (in case of primitive values or JSON values if it was requested)." },
    298298                    { "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)." }
    301300                ]
    302301            },
Note: See TracChangeset for help on using the changeset viewer.