Reviewed by Chris.
* bindings/objc/objc_utility.mm:
(KJS::Bindings::convertValueToObjcValue):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8397
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-01-18 Richard Williamson <rjw@apple.com>
+
+ Back out a change that was incorrectly committed yesterday.
+
+ Reviewed by Chris.
+
+ * bindings/objc/objc_utility.mm:
+ (KJS::Bindings::convertValueToObjcValue):
+
2005-01-17 Richard Williamson <rjw@apple.com>
Fixed <rdar://problem/3753030> Need to ensure same origin for plugin binding invocations (origin security rules)
ObjcValue result;
double d = 0;
- if (!ObjcObjectType)
+ if (value.type() == NumberType || value.type() == StringType)
d = value.toNumber(exec);
switch (type){