2011-03-01 Ilya Tikhonovsky <loislo@chromium.org>
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Mar 2011 17:28:39 +0000 (17:28 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 1 Mar 2011 17:28:39 +0000 (17:28 +0000)
        Reviewed by Pavel Feldman.

        Web Inspector: InjectedScript.setPropertyValue doesn't work.
        https://bugs.webkit.org/show_bug.cgi?id=55475

        * inspector/InjectedScript.cpp:
        (WebCore::InjectedScript::setPropertyValue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80005 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/InjectedScript.cpp

index 5231c6915774e9d68d2f04550a82d5e12d97031a..2956a651a2594449e994ad2fc8b1d843853c7705 100644 (file)
@@ -1,3 +1,13 @@
+2011-03-01  Ilya Tikhonovsky  <loislo@chromium.org>
+
+        Reviewed by Pavel Feldman.
+
+        Web Inspector: InjectedScript.setPropertyValue doesn't work.
+        https://bugs.webkit.org/show_bug.cgi?id=55475
+
+        * inspector/InjectedScript.cpp:
+        (WebCore::InjectedScript::setPropertyValue):
+
 2011-03-01  Steve Block  <steveblock@google.com>
 
         Reviewed by Jeremy Orlow.
index a67cfe9fd9f1f728abb8280928fe504c50611721..b551395257a3a2fe788b0809c4933c325f8944ce 100644 (file)
@@ -132,7 +132,7 @@ void InjectedScript::getNodePrototypes(long nodeId, RefPtr<InspectorValue>* resu
 
 void InjectedScript::setPropertyValue(PassRefPtr<InspectorObject> objectId, const String& propertyName, const String& expression, RefPtr<InspectorValue>* result)
 {
-    ScriptFunctionCall function(m_injectedScriptObject, "getNodeProperties");
+    ScriptFunctionCall function(m_injectedScriptObject, "setPropertyValue");
     function.appendArgument(objectId->toJSONString());
     function.appendArgument(propertyName);
     function.appendArgument(expression);