Changeset 84351 in webkit
- Timestamp:
- Apr 20, 2011 2:21:36 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r84350 r84351 1 2011-04-20 Pavel Feldman <pfeldman@google.com> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: minor protocol cleanups (refined types). 6 https://bugs.webkit.org/show_bug.cgi?id=58970 7 8 * inspector/InjectedScriptSource.js: 9 * inspector/Inspector.json: 10 1 11 2011-04-20 Leo Yang <leo.yang@torchmobile.com.cn> 2 12 -
trunk/Source/WebCore/inspector/InjectedScriptSource.js
r83434 r84351 475 475 this.id = "{\"ordinal\":" + ordinal + ",\"injectedScriptId\":" + injectedScriptId + "}"; 476 476 this.functionName = (callFrame.type === "function" ? callFrame.functionName : ""); 477 this.location = { sourceID: callFrame.sourceID, lineNumber: callFrame.line, columnNumber: callFrame.column };477 this.location = { sourceID: String(callFrame.sourceID), lineNumber: callFrame.line, columnNumber: callFrame.column }; 478 478 this.scopeChain = this._wrapScopeChain(callFrame); 479 479 } -
trunk/Source/WebCore/inspector/Inspector.json
r84080 r84351 134 134 "properties": [ 135 135 { "name": "description", "type": "string", "description": "String representation of the object." }, 136 { "name": "hasChildren", "type": " integer", "optional": true, "description": "True when this object can be queried for children." },136 { "name": "hasChildren", "type": "boolean", "optional": true, "description": "True when this object can be queried for children." }, 137 137 { "name": "objectId", "type": "string", "optional": true, "description": "Unique object identifier (for non-primitive values)." }, 138 138 { "name": "type", "type": "string", "enum": ["object", "array", "function", "null", "node", "undefined", "string", "number", "boolean", "error", "regexp", "date"], "description": "Object type." } … … 146 146 { "name": "name", "type": "string", "description": "Property name." }, 147 147 { "name": "value", "$ref": "RemoteObject", "description": "Property value." }, 148 { "name": "isGetter", "type": " string", "description": "True if this property is getter." }148 { "name": "isGetter", "type": "boolean", "optional": true, "description": "True if this property is getter." } 149 149 ] 150 150 } … … 181 181 ], 182 182 "returns": [ 183 { "name": "result", "type": "array", "items": { "$ref": "R untimeProperty"}, "description": "Object properties." }183 { "name": "result", "type": "array", "items": { "$ref": "RemoteProperty"}, "description": "Object properties." } 184 184 ], 185 185 "description": "Returns properties of a given object."
Note: See TracChangeset
for help on using the changeset viewer.