Unreviewed. Rebaselined run-bindings-tests.
authorharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Feb 2013 02:07:25 +0000 (02:07 +0000)
committerharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Feb 2013 02:07:25 +0000 (02:07 +0000)
* bindings/scripts/test/CPP/WebDOMTestObj.cpp:
(WebDOMTestObj::anyAttribute):
(WebDOMTestObj::setAnyAttribute):
* bindings/scripts/test/CPP/WebDOMTestObj.h:
* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
(webkit_dom_test_obj_get_any_attribute):
* bindings/scripts/test/JS/JSTestTypedefs.cpp:
(WebCore::jsTestTypedefsPrototypeFunctionFuncWithClamp):
* bindings/scripts/test/V8/V8TestTypedefs.cpp:
(WebCore::TestTypedefsV8Internal::funcWithClampCallback):

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

Source/WebCore/ChangeLog
Source/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp
Source/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.h
Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp
Source/WebCore/bindings/scripts/test/JS/JSTestTypedefs.cpp
Source/WebCore/bindings/scripts/test/V8/V8TestTypedefs.cpp

index 1e86b5e..d1e3dab 100644 (file)
@@ -1,3 +1,18 @@
+2013-02-14  Kentaro Hara  <haraken@chromium.org>
+
+        Unreviewed. Rebaselined run-bindings-tests.
+
+        * bindings/scripts/test/CPP/WebDOMTestObj.cpp:
+        (WebDOMTestObj::anyAttribute):
+        (WebDOMTestObj::setAnyAttribute):
+        * bindings/scripts/test/CPP/WebDOMTestObj.h:
+        * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
+        (webkit_dom_test_obj_get_any_attribute):
+        * bindings/scripts/test/JS/JSTestTypedefs.cpp:
+        (WebCore::jsTestTypedefsPrototypeFunctionFuncWithClamp):
+        * bindings/scripts/test/V8/V8TestTypedefs.cpp:
+        (WebCore::TestTypedefsV8Internal::funcWithClampCallback):
+
 2013-02-14  Christian Biesinger  <cbiesinger@chromium.org>
 
         Convert media controls from DeprecatedFlexibleBox to FlexibleBox
index 96c4da6..9fbbd50 100644 (file)
 #include "WebDOMDictionary.h"
 #include "WebDOMDocument.h"
 #include "WebDOMNode.h"
+#include "WebDOMObject.h"
 #include "WebDOMSVGPoint.h"
 #include "WebDOMString.h"
 #include "WebDOMTestObj.h"
 #include "WebDOMa.h"
-#include "WebDOMany.h"
 #include "WebDOMb.h"
 #include "WebDOMbool.h"
 #include "WebDOMd.h"
@@ -43,7 +43,6 @@
 #include "WebExceptionHandler.h"
 #include "WebNativeEventListener.h"
 #include "a.h"
-#include "any.h"
 #include "b.h"
 #include "bool.h"
 #include "d.h"
@@ -537,15 +536,15 @@ void WebDOMTestObj::setConditionalAttr3(int newConditionalAttr3)
 }
 
 #endif
-WebDOMany WebDOMTestObj::anyAttribute() const
+WebDOMObject WebDOMTestObj::anyAttribute() const
 {
     if (!impl())
-        return WebDOMany();
+        return WebDOMObject();
 
     return toWebKit(WTF::getPtr(impl()->anyAttribute()));
 }
 
-void WebDOMTestObj::setAnyAttribute(const WebDOMany& newAnyAttribute)
+void WebDOMTestObj::setAnyAttribute(const WebDOMObject& newAnyAttribute)
 {
     if (!impl())
         return;
index 729b2d4..e67ba83 100644 (file)
@@ -34,11 +34,11 @@ class WebDOMDictionary;
 class WebDOMDocument;
 class WebDOMEventListener;
 class WebDOMNode;
+class WebDOMObject;
 class WebDOMSVGPoint;
 class WebDOMString;
 class WebDOMTestObj;
 class WebDOMa;
-class WebDOMany;
 class WebDOMb;
 class WebDOMbool;
 class WebDOMd;
@@ -129,8 +129,8 @@ public:
     int conditionalAttr3() const;
     void setConditionalAttr3(int);
 #endif
-    WebDOMany anyAttribute() const;
-    void setAnyAttribute(const WebDOMany&);
+    WebDOMObject anyAttribute() const;
+    void setAnyAttribute(const WebDOMObject&);
     WebDOMDocument contentDocument() const;
     WebDOMSVGPoint mutablePoint() const;
     void setMutablePoint(const WebDOMSVGPoint&);
index aaaa83f..80e67b2 100644 (file)
@@ -33,7 +33,6 @@
 #include "WebKitDOMSerializedScriptValuePrivate.h"
 #include "WebKitDOMTestObjPrivate.h"
 #include "WebKitDOMaPrivate.h"
-#include "WebKitDOManyPrivate.h"
 #include "WebKitDOMbPrivate.h"
 #include "WebKitDOMboolPrivate.h"
 #include "WebKitDOMdPrivate.h"
@@ -2150,7 +2149,7 @@ webkit_dom_test_obj_get_any_attribute(WebKitDOMTestObj* self)
     g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
     WebCore::TestObj* item = WebKit::core(self);
     RefPtr<WebCore::any> gobjectResult = WTF::getPtr(item->anyAttribute());
-    return WebKit::kit(gobjectResult.get());
+    return 0; // TODO: return canvas object
 }
 
 void
index eb79041..6069c41 100644 (file)
@@ -496,7 +496,7 @@ EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionFuncWithClamp(ExecSt
     if (exec->hadException())
         return JSValue::encode(jsUndefined());
 
-    if (!isnan(arg1NativeValue))
+    if (!std::isnan(arg1NativeValue))
         arg1 = clampTo<unsigned long long>(arg1NativeValue);
 
 
@@ -511,7 +511,7 @@ EncodedJSValue JSC_HOST_CALL jsTestTypedefsPrototypeFunctionFuncWithClamp(ExecSt
     if (exec->hadException())
         return JSValue::encode(jsUndefined());
 
-    if (!isnan(arg2NativeValue))
+    if (!std::isnan(arg2NativeValue))
         arg2 = clampTo<unsigned long long>(arg2NativeValue);
 
     impl->funcWithClamp(arg1, arg2);
index f1b0524..9b6c167 100644 (file)
@@ -286,7 +286,7 @@ static v8::Handle<v8::Value> funcWithClampCallback(const v8::Arguments& args)
     TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder());
     unsigned long long arg1 = 0;
     V8TRYCATCH(double, arg1NativeValue, args[0]->NumberValue());
-    if (!isnan(arg1NativeValue))
+    if (!std::isnan(arg1NativeValue))
         arg1 = clampTo<unsigned long long>(arg1NativeValue);
     if (args.Length() <= 1) {
         imp->funcWithClamp(arg1);
@@ -294,7 +294,7 @@ static v8::Handle<v8::Value> funcWithClampCallback(const v8::Arguments& args)
     }
     unsigned long long arg2 = 0;
     V8TRYCATCH(double, arg2NativeValue, args[1]->NumberValue());
-    if (!isnan(arg2NativeValue))
+    if (!std::isnan(arg2NativeValue))
         arg2 = clampTo<unsigned long long>(arg2NativeValue);
     imp->funcWithClamp(arg1, arg2);
     return v8Undefined();