Changeset 80349 in webkit
- Timestamp:
- Mar 4, 2011 7:05:59 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r80345 r80349 1 2011-03-04 Ilya Tikhonovsky <loislo@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: rename RuntimeAgent's function from releaseWrapperObjectGroup to releaseObjectGroup. 6 https://bugs.webkit.org/show_bug.cgi?id=55773 7 8 * inspector/protocol/runtime-agent-expected.txt: 9 * inspector/protocol/runtime-agent.html: 10 1 11 2011-03-04 Ilya Tikhonovsky <loislo@chromium.org> 2 12 -
trunk/LayoutTests/inspector/protocol/runtime-agent-expected.txt
r80345 r80349 200 200 201 201 ----------------------------------------------------------- 202 RuntimeAgent.release WrapperObjectGroup(<number>,"test")203 204 request: 205 { 206 seq : <number> 207 domain : "Runtime" 208 command : "release WrapperObjectGroup"202 RuntimeAgent.releaseObjectGroup(<number>,"test") 203 204 request: 205 { 206 seq : <number> 207 domain : "Runtime" 208 command : "releaseObjectGroup" 209 209 arguments : { 210 210 injectedScriptId : <number> … … 226 226 setPropertyValue : "checked" 227 227 releaseObject : "checked" 228 release WrapperObjectGroup : "checked"229 } 230 228 releaseObjectGroup : "checked" 229 } 230 -
trunk/LayoutTests/inspector/protocol/runtime-agent.html
r80342 r80349 24 24 ["getProperties", result.objectId, false, false], 25 25 ["releaseObject", result.objectId], 26 ["release WrapperObjectGroup", result.objectId.injectedScriptId, 'test']];26 ["releaseObjectGroup", result.objectId.injectedScriptId, 'test']]; 27 27 28 28 InspectorTest.runProtocolTestSuite("RuntimeAgent", testSuite, ['seq', 'id', 'injectedScriptId']); -
trunk/Source/WebCore/ChangeLog
r80348 r80349 1 2011-03-04 Ilya Tikhonovsky <loislo@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 Web Inspector: rename RuntimeAgent's function from releaseWrapperObjectGroup to releaseObjectGroup. 6 https://bugs.webkit.org/show_bug.cgi?id=55773 7 8 * inspector/CodeGeneratorInspector.pm: 9 * inspector/InjectedScript.cpp: 10 (WebCore::InjectedScript::releaseObjectGroup): 11 * inspector/InjectedScript.h: 12 * inspector/InjectedScriptHost.cpp: 13 (WebCore::InjectedScriptHost::releaseObjectGroup): 14 * inspector/InjectedScriptHost.h: 15 * inspector/InjectedScriptSource.js: 16 (.): 17 * inspector/Inspector.idl: 18 * inspector/InspectorConsoleAgent.cpp: 19 (WebCore::InspectorConsoleAgent::clearConsoleMessages): 20 * inspector/InspectorRuntimeAgent.cpp: 21 (WebCore::InspectorRuntimeAgent::releaseObjectGroup): 22 * inspector/InspectorRuntimeAgent.h: 23 * inspector/front-end/ConsoleView.js: 24 (WebInspector.ConsoleView.prototype.completions.evaluatedProperties): 25 (WebInspector.ConsoleView.prototype.completions): 26 * inspector/front-end/PropertiesSidebarPane.js: 27 * inspector/front-end/SourceFrame.js: 28 (WebInspector.SourceFrame.prototype._hidePopup): 29 * inspector/front-end/WatchExpressionsSidebarPane.js: 30 (WebInspector.WatchExpressionsSection.prototype.update): 31 1 32 2011-03-02 Andrey Adaikin <aandrey@google.com> 2 33 -
trunk/Source/WebCore/inspector/CodeGeneratorInspector.pm
r80345 r80349 295 295 ); 296 296 generateFunctions($interface, \%agent); 297 if (@{ %agent->{methodDeclarations}}) {297 if (@{$agent{methodDeclarations}}) { 298 298 generateAgentDeclaration($interface, \%agent); 299 299 } -
trunk/Source/WebCore/inspector/InjectedScript.cpp
r80342 r80349 165 165 } 166 166 167 void InjectedScript::release WrapperObjectGroup(const String& objectGroup)168 { 169 ASSERT(!hasNoValue()); 170 ScriptFunctionCall releaseFunction(m_injectedScriptObject, "release WrapperObjectGroup");167 void InjectedScript::releaseObjectGroup(const String& objectGroup) 168 { 169 ASSERT(!hasNoValue()); 170 ScriptFunctionCall releaseFunction(m_injectedScriptObject, "releaseObjectGroup"); 171 171 releaseFunction.appendArgument(objectGroup); 172 172 releaseFunction.call(); -
trunk/Source/WebCore/inspector/InjectedScript.h
r80342 r80349 68 68 PassRefPtr<InspectorObject> wrapNode(Node*, const String& groupName); 69 69 void inspectNode(Node*); 70 void release WrapperObjectGroup(const String&);70 void releaseObjectGroup(const String&); 71 71 ScriptState* scriptState() const { return m_injectedScriptObject.scriptState(); } 72 72 -
trunk/Source/WebCore/inspector/InjectedScriptHost.cpp
r80204 r80349 164 164 } 165 165 166 void InjectedScriptHost::release WrapperObjectGroup(long injectedScriptId, const String& objectGroup)166 void InjectedScriptHost::releaseObjectGroup(long injectedScriptId, const String& objectGroup) 167 167 { 168 168 if (injectedScriptId) { 169 169 InjectedScript injectedScript = m_idToInjectedScript.get(injectedScriptId); 170 170 if (!injectedScript.hasNoValue()) 171 injectedScript.release WrapperObjectGroup(objectGroup);171 injectedScript.releaseObjectGroup(objectGroup); 172 172 } else { 173 173 // Iterate over all injected scripts if injectedScriptId is not specified. 174 174 for (IdToInjectedScriptMap::iterator it = m_idToInjectedScript.begin(); it != m_idToInjectedScript.end(); ++it) 175 it->second.release WrapperObjectGroup(objectGroup);175 it->second.releaseObjectGroup(objectGroup); 176 176 } 177 177 } -
trunk/Source/WebCore/inspector/InjectedScriptHost.h
r80141 r80349 94 94 InjectedScript injectedScriptForMainFrame(); 95 95 void discardInjectedScripts(); 96 void release WrapperObjectGroup(long injectedScriptId, const String& objectGroup);96 void releaseObjectGroup(long injectedScriptId, const String& objectGroup); 97 97 98 98 static bool canAccessInspectedWindow(ScriptState*); -
trunk/Source/WebCore/inspector/InjectedScriptSource.js
r80342 r80349 119 119 }, 120 120 121 release WrapperObjectGroup: function(objectGroupName)121 releaseObjectGroup: function(objectGroupName) 122 122 { 123 123 var group = this._objectGroups[objectGroupName]; … … 295 295 return false; 296 296 297 injectedScript.release WrapperObjectGroup("backtrace");297 injectedScript.releaseObjectGroup("backtrace"); 298 298 var result = []; 299 299 var depth = 0; -
trunk/Source/WebCore/inspector/Inspector.idl
r80342 r80349 78 78 void setPropertyValue(in Object objectId, in String propertyName, in String expression, out Value result); 79 79 void releaseObject(in Object objectId); 80 void release WrapperObjectGroup(in long injectedScriptId, in String objectGroup);80 void releaseObjectGroup(in long injectedScriptId, in String objectGroup); 81 81 }; 82 82 -
trunk/Source/WebCore/inspector/InspectorConsoleAgent.cpp
r80204 r80349 90 90 m_expiredConsoleMessageCount = 0; 91 91 m_previousMessage = 0; 92 m_injectedScriptHost->release WrapperObjectGroup(0 /* release the group in all scripts */, "console");92 m_injectedScriptHost->releaseObjectGroup(0 /* release the group in all scripts */, "console"); 93 93 if (InspectorDOMAgent* domAgent = m_inspectorAgent->domAgent()) 94 94 domAgent->releaseDanglingNodes(); -
trunk/Source/WebCore/inspector/InspectorRuntimeAgent.cpp
r80342 r80349 81 81 } 82 82 83 void InspectorRuntimeAgent::release WrapperObjectGroup(ErrorString*, long injectedScriptId, const String& objectGroup)83 void InspectorRuntimeAgent::releaseObjectGroup(ErrorString*, long injectedScriptId, const String& objectGroup) 84 84 { 85 m_injectedScriptHost->release WrapperObjectGroup(injectedScriptId, objectGroup);85 m_injectedScriptHost->releaseObjectGroup(injectedScriptId, objectGroup); 86 86 } 87 87 -
trunk/Source/WebCore/inspector/InspectorRuntimeAgent.h
r80342 r80349 65 65 void getProperties(ErrorString*, PassRefPtr<InspectorObject> objectId, bool ignoreHasOwnProperty, bool abbreviate, RefPtr<InspectorValue>* result); 66 66 void setPropertyValue(ErrorString*, PassRefPtr<InspectorObject> objectId, const String& propertyName, const String& expression, RefPtr<InspectorValue>* result); 67 void release WrapperObjectGroup(ErrorString*, long injectedScriptId, const String& objectGroup);67 void releaseObjectGroup(ErrorString*, long injectedScriptId, const String& objectGroup); 68 68 69 69 private: -
trunk/Source/WebCore/inspector/front-end/ConsoleView.js
r80342 r80349 365 365 function evaluatedProperties(properties) 366 366 { 367 RuntimeAgent.release WrapperObjectGroup("completion");367 RuntimeAgent.releaseObjectGroup("completion"); 368 368 var propertyNames = []; 369 369 for (var i = 0; properties && i < properties.length; ++i) -
trunk/Source/WebCore/inspector/front-end/PropertiesSidebarPane.js
r80141 r80349 43 43 } 44 44 45 RuntimeAgent.release WrapperObjectGroup(0, "dom-selection");45 RuntimeAgent.releaseObjectGroup(0, "dom-selection"); 46 46 WebInspector.RemoteObject.resolveNode(node, nodeResolved.bind(this)); 47 47 -
trunk/Source/WebCore/inspector/front-end/SourceFrame.js
r80342 r80349 625 625 this._popup.hide(); 626 626 delete this._popup; 627 RuntimeAgent.release WrapperObjectGroup(0, this._popoverObjectGroup);627 RuntimeAgent.releaseObjectGroup(0, this._popoverObjectGroup); 628 628 }, 629 629 -
trunk/Source/WebCore/inspector/front-end/WatchExpressionsSidebarPane.js
r78717 r80349 121 121 122 122 // TODO: pass exact injected script id. 123 RuntimeAgent.release WrapperObjectGroup(0, this._watchObjectGroupId)123 RuntimeAgent.releaseObjectGroup(0, this._watchObjectGroupId) 124 124 var properties = []; 125 125
Note: See TracChangeset
for help on using the changeset viewer.