Slight clarification to an exception message.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 May 2007 19:37:18 +0000 (19:37 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 May 2007 19:37:18 +0000 (19:37 +0000)
        * API/JSCallbackObject.cpp:
        (KJS::JSCallbackObject::put):

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

JavaScriptCore/API/JSCallbackObject.cpp
JavaScriptCore/ChangeLog

index 68252a0..8d6e1d8 100644 (file)
@@ -156,7 +156,7 @@ void JSCallbackObject::put(ExecState* exec, const Identifier& propertyName, JSVa
                     if (setProperty(ctx, thisRef, propertyNameRef, valueRef, toRef(exec->exceptionSlot())))
                         return;
                 } else
-                    throwError(exec, ReferenceError, "Writable static value property defined with NULL setProperty callback.");
+                    throwError(exec, ReferenceError, "Attempt to set a property that is not settable.");
             }
         }
         
index 7932fcf..efdb16c 100644 (file)
@@ -1,3 +1,10 @@
+2007-05-28  Geoffrey Garen  <ggaren@apple.com>
+
+        Slight clarification to an exception message.
+
+        * API/JSCallbackObject.cpp:
+        (KJS::JSCallbackObject::put):
+
 2007-05-27  Holger Freyther  <zecke@selfish.org>
 
         Reviewed by Mark Rowe.