Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (view as text)
- python ./Tools/Scripts/run-bindings-tests
- in dir /home/webkitbuildbot/slaves/release32bit/buildslave/qt-linux-release/build (timeout 1200 secs)
- watching logfiles {}
- argv: ['python', './Tools/Scripts/run-bindings-tests']
- environment:
- DISPLAY=:1.0
- HOME=/home/webkitbuildbot
- ICECC_VERSION=x86_64:/home/webkitbuildbot/icecc/x86-4.4.5.tar.gz,i686:/home/webkitbuildbot/icecc/x86-4.4.5.tar.gz
- LANG=en_US.UTF-8
- LANGUAGE=en_US:en
- LOGNAME=webkitbuildbot
- MAIL=/var/mail/webkitbuildbot
- MAKEFLAGS=-j16
- PATH=/usr/local/Trolltech/Qt-4.8.0-rc1/bin:/usr/lib/icecc/bin:/home/webkitbuildbot/bin:/home/webkitbuildbot/common/bin:/home/webkitbuildbot/common/buildbot-manager:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
- PWD=/home/webkitbuildbot/slaves/release32bit/buildslave/qt-linux-release/build
- PYTHONPATH=.:/home/webkitbuildbot/lib/buildbot-slave-0.8.3
- QTDIR=/usr/local/Trolltech/Qt-4.8.0-rc1
- SCHROOT_SESSION_ID=32bit
- SHELL=/bin/bash
- SHLVL=7
- STY=10500..cute2
- TERM=xterm
- TZ=/usr/share/zoneinfo/America/Los_Angeles
- USER=webkitbuildbot
- WEBKIT_TESTFONTS=/home/webkitbuildbot/testfonts/
- WEBKIT_WAIT_FOR_HTTPD=1
- WINDOW=0
- WINDOWID=2097165
- WebKitMakeArguments=-j16
- XAUTHORITY=/tmp/xvfb-run.BkyrkU/Xauthority
- XTERM_LOCALE=en_US.UTF-8
- XTERM_SHELL=/bin/bash
- XTERM_VERSION=XTerm(261)
- _=/home/webkitbuildbot/bin/buildslave
- closing stdin
- using PTY: True
- PASS: (JS) JSTestNamedConstructor.cpp
- PASS: (JS) JSTestNamedConstructor.h
- PASS: (JS) JSTestObj.cpp
- PASS: (JS) JSTestObj.h
- PASS: (JS) JSFloat64Array.h
- PASS: (JS) JSFloat64Array.cpp
- PASS: (JS) JSTestMediaQueryListListener.cpp
- PASS: (JS) JSTestMediaQueryListListener.h
- PASS: (JS) JSTestEventConstructor.h
- PASS: (JS) JSTestEventConstructor.cpp
- FAIL: (JS) JSTestInterface.h
- --- WebCore/bindings/scripts/test/JS/JSTestInterface.h 2011-11-29 20:36:44.713287492 -0800
- +++ /tmp/tmpYxNP8J/JSTestInterface.h 2011-12-01 05:24:27.054627917 -0800
- @@ -44,7 +44,6 @@
- static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
- static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
- static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
- - static void put(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&);
- static const JSC::ClassInfo s_info;
- static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
- @@ -135,11 +134,6 @@
- // Attributes
- -JSC::JSValue jsTestInterfaceStr1(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
- -JSC::JSValue jsTestInterfaceStr2(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
- -void setJSTestInterfaceStr2(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
- -JSC::JSValue jsTestInterfaceStr3(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
- -void setJSTestInterfaceStr3(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
- JSC::JSValue jsTestInterfaceConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
- } // namespace WebCore
- FAIL: (JS) JSTestInterface.cpp
- --- WebCore/bindings/scripts/test/JS/JSTestInterface.cpp 2011-11-29 20:36:44.713287492 -0800
- +++ /tmp/tmpYxNP8J/JSTestInterface.cpp 2011-12-01 05:24:27.054627917 -0800
- @@ -26,17 +26,10 @@
- #include "ExceptionCode.h"
- #include "JSDOMBinding.h"
- -#include "JSTestSupplemental.h"
- #include "TestInterface.h"
- -#include "TestSupplemental.h"
- #include <runtime/Error.h>
- #include <wtf/GetPtr.h>
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -#include "KURL.h"
- -#include <runtime/JSString.h>
- -#endif
- -
- using namespace JSC;
- namespace WebCore {
- @@ -57,21 +50,12 @@
- static const HashTableValue JSTestInterfaceTableValues[] =
- {
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - { "str1", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceStr1), (intptr_t)0 THUNK_GENERATOR(0) INTRINSIC(DFG::NoIntrinsic) },
- -#endif
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - { "str2", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceStr2), (intptr_t)setJSTestInterfaceStr2 THUNK_GENERATOR(0) INTRINSIC(DFG::NoIntrinsic) },
- -#endif
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - { "str3", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceStr3), (intptr_t)setJSTestInterfaceStr3 THUNK_GENERATOR(0) INTRINSIC(DFG::NoIntrinsic) },
- -#endif
- { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceConstructor), (intptr_t)0 THUNK_GENERATOR(0) INTRINSIC(DFG::NoIntrinsic) },
- { 0, 0, 0, 0 THUNK_GENERATOR(0) INTRINSIC(DFG::NoIntrinsic) }
- };
- #undef THUNK_GENERATOR
- -static const HashTable JSTestInterfaceTable = { 8, 7, JSTestInterfaceTableValues, 0 };
- +static const HashTable JSTestInterfaceTable = { 2, 1, JSTestInterfaceTableValues, 0 };
- /* Hash table for constructor */
- #if ENABLE(JIT)
- #define THUNK_GENERATOR(generator) , generator
- @@ -203,70 +187,12 @@
- return getStaticValueDescriptor<JSTestInterface, Base>(exec, &JSTestInterfaceTable, thisObject, propertyName, descriptor);
- }
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -JSValue jsTestInterfaceStr1(ExecState* exec, JSValue slotBase, const Identifier&)
- -{
- - JSTestInterface* castedThis = static_cast<JSTestInterface*>(asObject(slotBase));
- - UNUSED_PARAM(exec);
- - TestInterface* imp = static_cast<TestInterface*>(castedThis->impl());
- - JSValue result = jsString(exec, TestSupplemental::str1(imp));
- - return result;
- -}
- -
- -#endif
- -
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -JSValue jsTestInterfaceStr2(ExecState* exec, JSValue slotBase, const Identifier&)
- -{
- - JSTestInterface* castedThis = static_cast<JSTestInterface*>(asObject(slotBase));
- - UNUSED_PARAM(exec);
- - TestInterface* imp = static_cast<TestInterface*>(castedThis->impl());
- - JSValue result = jsString(exec, TestSupplemental::str2(imp));
- - return result;
- -}
- -
- -#endif
- -
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -JSValue jsTestInterfaceStr3(ExecState* exec, JSValue slotBase, const Identifier&)
- -{
- - JSTestInterface* castedThis = static_cast<JSTestInterface*>(asObject(slotBase));
- - return JSTestSupplemental::str3(castedThis, exec);
- -}
- -
- -#endif
- -
- JSValue jsTestInterfaceConstructor(ExecState* exec, JSValue slotBase, const Identifier&)
- {
- JSTestInterface* domObject = static_cast<JSTestInterface*>(asObject(slotBase));
- return JSTestInterface::getConstructor(exec, domObject->globalObject());
- }
- -void JSTestInterface::put(JSCell* cell, ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
- -{
- - JSTestInterface* thisObject = jsCast<JSTestInterface*>(cell);
- - ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
- - lookupPut<JSTestInterface, Base>(exec, propertyName, value, &JSTestInterfaceTable, thisObject, slot);
- -}
- -
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -void setJSTestInterfaceStr2(ExecState* exec, JSObject* thisObject, JSValue value)
- -{
- - JSTestInterface* castedThis = static_cast<JSTestInterface*>(thisObject);
- - TestInterface* imp = static_cast<TestInterface*>(castedThis->impl());
- - TestSupplemental::setStr2(imp, ustringToString(value.isEmpty() ? UString() : value.toString(exec)));
- -}
- -
- -#endif
- -
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -void setJSTestInterfaceStr3(ExecState* exec, JSObject* thisObject, JSValue value)
- -{
- - JSTestSupplemental::setStr3(static_cast<JSTestInterface*>(thisObject), exec, value);
- -}
- -
- -#endif
- -
- JSValue JSTestInterface::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
- {
- return getDOMConstructor<JSTestInterfaceConstructor>(exec, static_cast<JSDOMGlobalObject*>(globalObject));
- PASS: (JS) JSTestSerializedScriptValueInterface.h
- PASS: (JS) JSTestSerializedScriptValueInterface.cpp
- PASS: (JS) JSTestCallback.h
- PASS: (JS) JSTestCallback.cpp
- PASS: (V8) V8TestNamedConstructor.cpp
- PASS: (V8) V8TestNamedConstructor.h
- PASS: (V8) V8TestObj.cpp
- PASS: (V8) V8TestObj.h
- PASS: (V8) V8Float64Array.cpp
- PASS: (V8) V8Float64Array.h
- PASS: (V8) V8TestMediaQueryListListener.cpp
- PASS: (V8) V8TestMediaQueryListListener.h
- PASS: (V8) V8TestEventConstructor.h
- PASS: (V8) V8TestEventConstructor.cpp
- FAIL: (V8) V8TestInterface.cpp
- --- WebCore/bindings/scripts/test/V8/V8TestInterface.cpp 2011-11-29 20:36:44.917237415 -0800
- +++ /tmp/tmpaQFhyA/V8TestInterface.cpp 2011-12-01 05:24:27.749627423 -0800
- @@ -25,14 +25,12 @@
- #include "ExceptionCode.h"
- #include "RuntimeEnabledFeatures.h"
- -#include "TestSupplemental.h"
- #include "V8Binding.h"
- #include "V8BindingMacros.h"
- #include "V8BindingState.h"
- #include "V8DOMWrapper.h"
- #include "V8IsolatedContext.h"
- #include "V8Proxy.h"
- -#include "V8TestSupplemental.h"
- #include <wtf/UnusedParam.h>
- namespace WebCore {
- @@ -43,58 +41,8 @@
- template <typename T> void V8_USE(T) { }
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -
- -static v8::Handle<v8::Value> str1AttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
- -{
- - INC_STATS("DOM.TestInterface.str1._get");
- - TestInterface* imp = V8TestInterface::toNative(info.Holder());
- - return v8String(TestSupplemental::str1(imp));
- -}
- -
- -#endif // ENABLE(Condition11) || ENABLE(Condition12)
- -
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -
- -static v8::Handle<v8::Value> str2AttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
- -{
- - INC_STATS("DOM.TestInterface.str2._get");
- - TestInterface* imp = V8TestInterface::toNative(info.Holder());
- - return v8String(TestSupplemental::str2(imp));
- -}
- -
- -#endif // ENABLE(Condition11) || ENABLE(Condition12)
- -
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -
- -static void str2AttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
- -{
- - INC_STATS("DOM.TestInterface.str2._set");
- - TestInterface* imp = V8TestInterface::toNative(info.Holder());
- - STRING_TO_V8PARAMETER_EXCEPTION_BLOCK_VOID(V8Parameter<>, v, value);
- - TestSupplemental::setStr2(imp, v);
- - return;
- -}
- -
- -#endif // ENABLE(Condition11) || ENABLE(Condition12)
- -
- } // namespace TestInterfaceInternal
- -static const BatchedAttribute TestInterfaceAttrs[] = {
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - // Attribute 'str1' (Type: 'readonly attribute' ExtAttr: 'Conditional ImplementedBy')
- - {"str1", TestInterfaceInternal::str1AttrGetter, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- -#endif // ENABLE(Condition11) || ENABLE(Condition12)
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - // Attribute 'str2' (Type: 'attribute' ExtAttr: 'Conditional ImplementedBy')
- - {"str2", TestInterfaceInternal::str2AttrGetter, TestInterfaceInternal::str2AttrSetter, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- -#endif // ENABLE(Condition11) || ENABLE(Condition12)
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - // Attribute 'str3' (Type: 'attribute' ExtAttr: 'CustomSetter CustomGetter Conditional ImplementedBy')
- - {"str3", V8TestSupplemental::str3AccessorGetter, V8TestSupplemental::str3AccessorSetter, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
- -#endif // ENABLE(Condition11) || ENABLE(Condition12)
- -};
- -
- v8::Handle<v8::Value> V8TestInterface::constructorCallback(const v8::Arguments& args)
- {
- INC_STATS("DOM.TestInterface.Constructor");
- @@ -133,7 +81,7 @@
- v8::Local<v8::Signature> defaultSignature;
- defaultSignature = configureTemplate(desc, "TestInterface", v8::Persistent<v8::FunctionTemplate>(), V8TestInterface::internalFieldCount,
- - TestInterfaceAttrs, WTF_ARRAY_LENGTH(TestInterfaceAttrs),
- + 0, 0,
- 0, 0);
- UNUSED_PARAM(defaultSignature); // In some cases, it will not be used.
- desc->SetCallHandler(V8TestInterface::constructorCallback);
- PASS: (V8) V8TestInterface.h
- PASS: (V8) V8TestSerializedScriptValueInterface.cpp
- PASS: (V8) V8TestSerializedScriptValueInterface.h
- PASS: (V8) V8TestCallback.h
- PASS: (V8) V8TestCallback.cpp
- gcc: error trying to exec 'cc1obj': execvp: No such file or directory
- PASS: (ObjC) DOMTestNamedConstructor.h
- PASS: (ObjC) DOMTestNamedConstructorInternal.h
- PASS: (ObjC) DOMTestNamedConstructor.mm
- gcc: error trying to exec 'cc1obj': execvp: No such file or directory
- PASS: (ObjC) DOMTestObjInternal.h
- PASS: (ObjC) DOMTestObj.mm
- PASS: (ObjC) DOMTestObj.h
- gcc: error trying to exec 'cc1obj': execvp: No such file or directory
- PASS: (ObjC) DOMFloat64ArrayInternal.h
- PASS: (ObjC) DOMFloat64Array.mm
- PASS: (ObjC) DOMFloat64Array.h
- gcc: error trying to exec 'cc1obj': execvp: No such file or directory
- PASS: (ObjC) DOMTestMediaQueryListListener.h
- PASS: (ObjC) DOMTestMediaQueryListListener.mm
- PASS: (ObjC) DOMTestMediaQueryListListenerInternal.h
- gcc: error trying to exec 'cc1obj': execvp: No such file or directory
- PASS: (ObjC) DOMTestEventConstructorInternal.h
- PASS: (ObjC) DOMTestEventConstructor.h
- PASS: (ObjC) DOMTestEventConstructor.mm
- gcc: error trying to exec 'cc1obj': execvp: No such file or directory
- PASS: (ObjC) DOMTestInterfaceInternal.h
- FAIL: (ObjC) DOMTestInterface.mm
- --- WebCore/bindings/scripts/test/ObjC/DOMTestInterface.mm 2011-11-29 20:36:44.909377966 -0800
- +++ /tmp/tmpDr7qGA/DOMTestInterface.mm 2011-12-01 05:24:28.297877550 -0800
- @@ -41,9 +41,7 @@
- #import "DOMTestInterfaceInternal.h"
- #import "ExceptionHandlers.h"
- #import "JSMainThreadExecState.h"
- -#import "KURL.h"
- #import "TestInterface.h"
- -#import "TestSupplemental.h"
- #import "ThreadCheck.h"
- #import "WebCoreObjCExtras.h"
- #import "WebScriptObjectPrivate.h"
- @@ -70,42 +68,6 @@
- [super finalize];
- }
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -- (NSString *)str1
- -{
- - WebCore::JSMainThreadNullState state;
- - return TestSupplemental::str1(IMPL);
- -}
- -#endif
- -
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -- (NSString *)str2
- -{
- - WebCore::JSMainThreadNullState state;
- - return TestSupplemental::str2(IMPL);
- -}
- -
- -- (void)setStr2:(NSString *)newStr2
- -{
- - WebCore::JSMainThreadNullState state;
- - TestSupplemental::setStr2(IMPL, newStr2);
- -}
- -#endif
- -
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -- (NSString *)str3
- -{
- - WebCore::JSMainThreadNullState state;
- - return TestSupplemental::str3(IMPL);
- -}
- -
- -- (void)setStr3:(NSString *)newStr3
- -{
- - WebCore::JSMainThreadNullState state;
- - TestSupplemental::setStr3(IMPL, newStr3);
- -}
- -#endif
- -
- @end
- WebCore::TestInterface* core(DOMTestInterface *wrapper)
- FAIL: (ObjC) DOMTestInterface.h
- --- WebCore/bindings/scripts/test/ObjC/DOMTestInterface.h 2011-11-29 20:36:44.909377966 -0800
- +++ /tmp/tmpDr7qGA/DOMTestInterface.h 2011-12-01 05:24:28.297877550 -0800
- @@ -28,20 +28,7 @@
- #if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
- -@class NSString;
- -
- @interface DOMTestInterface : DOMObject
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -- (NSString *)str1;
- -#endif
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -- (NSString *)str2;
- -- (void)setStr2:(NSString *)newStr2;
- -#endif
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -- (NSString *)str3;
- -- (void)setStr3:(NSString *)newStr3;
- -#endif
- @end
- #endif
- gcc: error trying to exec 'cc1obj': execvp: No such file or directory
- PASS: (ObjC) DOMTestSerializedScriptValueInterfaceInternal.h
- PASS: (ObjC) DOMTestSerializedScriptValueInterface.h
- PASS: (ObjC) DOMTestSerializedScriptValueInterface.mm
- gcc: error trying to exec 'cc1obj': execvp: No such file or directory
- PASS: (ObjC) DOMTestCallback.mm
- PASS: (ObjC) DOMTestCallback.h
- PASS: (ObjC) DOMTestCallbackInternal.h
- PASS: (GObject) WebKitDOMTestNamedConstructor.h
- PASS: (GObject) WebKitDOMTestNamedConstructor.cpp
- PASS: (GObject) WebKitDOMTestNamedConstructorPrivate.h
- PASS: (GObject) WebKitDOMTestObjPrivate.h
- PASS: (GObject) WebKitDOMTestObj.h
- PASS: (GObject) WebKitDOMTestObj.cpp
- PASS: (GObject) WebKitDOMFloat64Array.cpp
- PASS: (GObject) WebKitDOMFloat64Array.h
- PASS: (GObject) WebKitDOMFloat64ArrayPrivate.h
- PASS: (GObject) WebKitDOMTestMediaQueryListListener.cpp
- PASS: (GObject) WebKitDOMTestMediaQueryListListenerPrivate.h
- PASS: (GObject) WebKitDOMTestMediaQueryListListener.h
- PASS: (GObject) WebKitDOMTestEventConstructor.cpp
- PASS: (GObject) WebKitDOMTestEventConstructor.h
- PASS: (GObject) WebKitDOMTestEventConstructorPrivate.h
- PASS: (GObject) WebKitDOMTestInterfacePrivate.h
- FAIL: (GObject) WebKitDOMTestInterface.h
- --- WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.h 2011-11-29 20:36:44.721798509 -0800
- +++ /tmp/tmplspyeQ/WebKitDOMTestInterface.h 2011-12-01 05:24:28.830628490 -0800
- @@ -46,37 +46,6 @@
- WEBKIT_API GType
- webkit_dom_test_interface_get_type (void);
- -/**
- - * webkit_dom_test_interface_get_str1:
- - * @self: A #WebKitDOMTestInterface
- - *
- - * Returns:
- - *
- -**/
- -WEBKIT_API gchar*
- -webkit_dom_test_interface_get_str1(WebKitDOMTestInterface* self);
- -
- -/**
- - * webkit_dom_test_interface_get_str2:
- - * @self: A #WebKitDOMTestInterface
- - *
- - * Returns:
- - *
- -**/
- -WEBKIT_API gchar*
- -webkit_dom_test_interface_get_str2(WebKitDOMTestInterface* self);
- -
- -/**
- - * webkit_dom_test_interface_set_str2:
- - * @self: A #WebKitDOMTestInterface
- - * @value: A #gchar
- - *
- - * Returns:
- - *
- -**/
- -WEBKIT_API void
- -webkit_dom_test_interface_set_str2(WebKitDOMTestInterface* self, const gchar* value);
- -
- G_END_DECLS
- #endif /* WebKitDOMTestInterface_h */
- FAIL: (GObject) WebKitDOMTestInterface.cpp
- --- WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp 2011-11-29 20:36:44.721798509 -0800
- +++ /tmp/tmplspyeQ/WebKitDOMTestInterface.cpp 2011-12-01 05:24:28.830628490 -0800
- @@ -29,7 +29,6 @@
- #include "ExceptionCode.h"
- #include "JSMainThreadExecState.h"
- #include "TestInterface.h"
- -#include "TestSupplemental.h"
- #include "WebKitDOMBinding.h"
- #include "gobject/ConvertToUTF8String.h"
- #include "webkit/WebKitDOMTestInterface.h"
- @@ -52,47 +51,6 @@
- } // namespace WebKit //
- -gchar*
- -webkit_dom_test_interface_get_str1(WebKitDOMTestInterface* self)
- -{
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - g_return_val_if_fail(self, 0);
- - WebCore::JSMainThreadNullState state;
- - WebCore::TestInterface * item = WebKit::core(self);
- - gchar* res = convertToUTF8String(TestSupplemental::str1(item));
- - return res;
- -#else
- - return NULL;
- -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
- -}
- -
- -gchar*
- -webkit_dom_test_interface_get_str2(WebKitDOMTestInterface* self)
- -{
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - g_return_val_if_fail(self, 0);
- - WebCore::JSMainThreadNullState state;
- - WebCore::TestInterface * item = WebKit::core(self);
- - gchar* res = convertToUTF8String(TestSupplemental::str2(item));
- - return res;
- -#else
- - return NULL;
- -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
- -}
- -
- -void
- -webkit_dom_test_interface_set_str2(WebKitDOMTestInterface* self, const gchar* value)
- -{
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - g_return_if_fail(self);
- - WebCore::JSMainThreadNullState state;
- - WebCore::TestInterface * item = WebKit::core(self);
- - g_return_if_fail(value);
- - WTF::String converted_value = WTF::String::fromUTF8(value);
- - TestSupplemental::setStr2(item, converted_value);
- -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
- -}
- -
- G_DEFINE_TYPE(WebKitDOMTestInterface, webkit_dom_test_interface, WEBKIT_TYPE_DOM_OBJECT)
- @@ -111,12 +69,6 @@
- } // namespace WebKit
- enum {
- PROP_0,
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - PROP_STR1,
- -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - PROP_STR2,
- -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
- };
- @@ -139,16 +91,7 @@
- static void webkit_dom_test_interface_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec)
- {
- WebCore::JSMainThreadNullState state;
- - WebKitDOMTestInterface* self = WEBKIT_DOM_TEST_INTERFACE(object);
- - WebCore::TestInterface* coreSelf = WebKit::core(self);
- switch (prop_id) {
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - case PROP_STR2:
- - {
- - TestSupplemental::setStr2(coreSelf, WTF::String::fromUTF8(g_value_get_string(value)));
- - break;
- - }
- -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
- break;
- @@ -159,23 +102,7 @@
- static void webkit_dom_test_interface_get_property(GObject* object, guint prop_id, GValue* value, GParamSpec* pspec)
- {
- WebCore::JSMainThreadNullState state;
- - WebKitDOMTestInterface* self = WEBKIT_DOM_TEST_INTERFACE(object);
- - WebCore::TestInterface* coreSelf = WebKit::core(self);
- switch (prop_id) {
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - case PROP_STR1:
- - {
- - g_value_take_string(value, convertToUTF8String(TestSupplemental::str1(coreSelf)));
- - break;
- - }
- -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - case PROP_STR2:
- - {
- - g_value_take_string(value, convertToUTF8String(TestSupplemental::str2(coreSelf)));
- - break;
- - }
- -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
- break;
- @@ -198,24 +125,6 @@
- gobjectClass->get_property = webkit_dom_test_interface_get_property;
- gobjectClass->constructed = webkit_dom_test_interface_constructed;
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - g_object_class_install_property(gobjectClass,
- - PROP_STR1,
- - g_param_spec_string("str1", /* name */
- - "test_interface_str1", /* short description */
- - "read-only gchar* TestInterface.str1", /* longer - could do with some extra doc stuff here */
- - "", /* default */
- - WEBKIT_PARAM_READABLE));
- -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - g_object_class_install_property(gobjectClass,
- - PROP_STR2,
- - g_param_spec_string("str2", /* name */
- - "test_interface_str2", /* short description */
- - "read-write gchar* TestInterface.str2", /* longer - could do with some extra doc stuff here */
- - "", /* default */
- - WEBKIT_PARAM_READWRITE));
- -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
- }
- PASS: (GObject) WebKitDOMTestSerializedScriptValueInterfacePrivate.h
- PASS: (GObject) WebKitDOMTestSerializedScriptValueInterface.h
- PASS: (GObject) WebKitDOMTestSerializedScriptValueInterface.cpp
- PASS: (GObject) WebKitDOMTestCallback.h
- PASS: (GObject) WebKitDOMTestCallbackPrivate.h
- PASS: (GObject) WebKitDOMTestCallback.cpp
- PASS: (CPP) WebDOMTestNamedConstructor.cpp
- PASS: (CPP) WebDOMTestNamedConstructor.h
- PASS: (CPP) WebDOMTestObj.cpp
- PASS: (CPP) WebDOMTestObj.h
- PASS: (CPP) WebDOMFloat64Array.h
- PASS: (CPP) WebDOMFloat64Array.cpp
- PASS: (CPP) WebDOMTestMediaQueryListListener.cpp
- PASS: (CPP) WebDOMTestMediaQueryListListener.h
- PASS: (CPP) WebDOMTestEventConstructor.h
- PASS: (CPP) WebDOMTestEventConstructor.cpp
- FAIL: (CPP) WebDOMTestInterface.cpp
- --- WebCore/bindings/scripts/test/CPP/WebDOMTestInterface.cpp 2011-11-29 20:36:44.706127941 -0800
- +++ /tmp/tmpLCJeQS/WebDOMTestInterface.cpp 2011-12-01 05:24:29.321627787 -0800
- @@ -24,12 +24,8 @@
- #include "WebDOMTestInterface.h"
- -#include "KURL.h"
- #include "TestInterface.h"
- -#include "TestSupplemental.h"
- -#include "WebDOMString.h"
- #include "WebExceptionHandler.h"
- -#include "wtf/text/AtomicString.h"
- #include <wtf/GetPtr.h>
- #include <wtf/RefPtr.h>
- @@ -78,34 +74,6 @@
- m_impl = 0;
- }
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -WebDOMString WebDOMTestInterface::str1() const
- -{
- - if (!impl())
- - return WebDOMString();
- -
- - return static_cast<const WTF::String&>(TestSupplemental::str1(impl()));
- -}
- -
- -#endif
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- -WebDOMString WebDOMTestInterface::str2() const
- -{
- - if (!impl())
- - return WebDOMString();
- -
- - return static_cast<const WTF::String&>(TestSupplemental::str2(impl()));
- -}
- -
- -void WebDOMTestInterface::setStr2(const WebDOMString& newStr2)
- -{
- - if (!impl())
- - return;
- -
- - TestSupplemental::setStr2(impl(), newStr2);
- -}
- -
- -#endif
- WebCore::TestInterface* toWebCore(const WebDOMTestInterface& wrapper)
- {
- return wrapper.impl();
- FAIL: (CPP) WebDOMTestInterface.h
- --- WebCore/bindings/scripts/test/CPP/WebDOMTestInterface.h 2011-11-29 20:36:44.706127941 -0800
- +++ /tmp/tmpLCJeQS/WebDOMTestInterface.h 2011-12-01 05:24:29.321627787 -0800
- @@ -41,13 +41,6 @@
- WebDOMTestInterface& operator=(const WebDOMTestInterface&);
- virtual ~WebDOMTestInterface();
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - WebDOMString str1() const;
- -#endif
- -#if ENABLE(Condition11) || ENABLE(Condition12)
- - WebDOMString str2() const;
- - void setStr2(const WebDOMString&);
- -#endif
- WebCore::TestInterface* impl() const;
- PASS: (CPP) WebDOMTestSerializedScriptValueInterface.cpp
- PASS: (CPP) WebDOMTestSerializedScriptValueInterface.h
- PASS: (CPP) WebDOMTestCallback.h
- PASS: (CPP) WebDOMTestCallback.cpp
- Some tests FAIL! (To update the reference files, execute "run-bindings-tests --reset-results")
- program finished with exit code 255
- elapsedTime=3.002871
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement