Advertisement
Guest User

Untitled

a guest
Aug 25th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.45 KB | None | 0 0
  1. (view as text)
  2. python ./Tools/Scripts/run-bindings-tests
  3. in dir /home/webkitbuildbot/slaves/release32bit/buildslave/qt-linux-release/build (timeout 1200 secs)
  4. watching logfiles {}
  5. argv: ['python', './Tools/Scripts/run-bindings-tests']
  6. environment:
  7. DISPLAY=:1.0
  8. HOME=/home/webkitbuildbot
  9. ICECC_VERSION=x86_64:/home/webkitbuildbot/icecc/x86-4.4.5.tar.gz,i686:/home/webkitbuildbot/icecc/x86-4.4.5.tar.gz
  10. LANG=en_US.UTF-8
  11. LANGUAGE=en_US:en
  12. LOGNAME=webkitbuildbot
  13. MAIL=/var/mail/webkitbuildbot
  14. MAKEFLAGS=-j16
  15. 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
  16. PWD=/home/webkitbuildbot/slaves/release32bit/buildslave/qt-linux-release/build
  17. PYTHONPATH=.:/home/webkitbuildbot/lib/buildbot-slave-0.8.3
  18. QTDIR=/usr/local/Trolltech/Qt-4.8.0-rc1
  19. SCHROOT_SESSION_ID=32bit
  20. SHELL=/bin/bash
  21. SHLVL=7
  22. STY=10500..cute2
  23. TERM=xterm
  24. TZ=/usr/share/zoneinfo/America/Los_Angeles
  25. USER=webkitbuildbot
  26. WEBKIT_TESTFONTS=/home/webkitbuildbot/testfonts/
  27. WEBKIT_WAIT_FOR_HTTPD=1
  28. WINDOW=0
  29. WINDOWID=2097165
  30. WebKitMakeArguments=-j16
  31. XAUTHORITY=/tmp/xvfb-run.BkyrkU/Xauthority
  32. XTERM_LOCALE=en_US.UTF-8
  33. XTERM_SHELL=/bin/bash
  34. XTERM_VERSION=XTerm(261)
  35. _=/home/webkitbuildbot/bin/buildslave
  36. closing stdin
  37. using PTY: True
  38. PASS: (JS) JSTestNamedConstructor.cpp
  39. PASS: (JS) JSTestNamedConstructor.h
  40. PASS: (JS) JSTestObj.cpp
  41. PASS: (JS) JSTestObj.h
  42. PASS: (JS) JSFloat64Array.h
  43. PASS: (JS) JSFloat64Array.cpp
  44. PASS: (JS) JSTestMediaQueryListListener.cpp
  45. PASS: (JS) JSTestMediaQueryListListener.h
  46. PASS: (JS) JSTestEventConstructor.h
  47. PASS: (JS) JSTestEventConstructor.cpp
  48. FAIL: (JS) JSTestInterface.h
  49. --- WebCore/bindings/scripts/test/JS/JSTestInterface.h 2011-11-29 20:36:44.713287492 -0800
  50. +++ /tmp/tmpYxNP8J/JSTestInterface.h 2011-12-01 05:24:27.054627917 -0800
  51. @@ -44,7 +44,6 @@
  52. static JSC::JSObject* createPrototype(JSC::ExecState*, JSC::JSGlobalObject*);
  53. static bool getOwnPropertySlot(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertySlot&);
  54. static bool getOwnPropertyDescriptor(JSC::JSObject*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::PropertyDescriptor&);
  55. - static void put(JSC::JSCell*, JSC::ExecState*, const JSC::Identifier& propertyName, JSC::JSValue, JSC::PutPropertySlot&);
  56. static const JSC::ClassInfo s_info;
  57.  
  58. static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSGlobalObject* globalObject, JSC::JSValue prototype)
  59. @@ -135,11 +134,6 @@
  60.  
  61. // Attributes
  62.  
  63. -JSC::JSValue jsTestInterfaceStr1(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
  64. -JSC::JSValue jsTestInterfaceStr2(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
  65. -void setJSTestInterfaceStr2(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
  66. -JSC::JSValue jsTestInterfaceStr3(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
  67. -void setJSTestInterfaceStr3(JSC::ExecState*, JSC::JSObject*, JSC::JSValue);
  68. JSC::JSValue jsTestInterfaceConstructor(JSC::ExecState*, JSC::JSValue, const JSC::Identifier&);
  69.  
  70. } // namespace WebCore
  71.  
  72. FAIL: (JS) JSTestInterface.cpp
  73. --- WebCore/bindings/scripts/test/JS/JSTestInterface.cpp 2011-11-29 20:36:44.713287492 -0800
  74. +++ /tmp/tmpYxNP8J/JSTestInterface.cpp 2011-12-01 05:24:27.054627917 -0800
  75. @@ -26,17 +26,10 @@
  76.  
  77. #include "ExceptionCode.h"
  78. #include "JSDOMBinding.h"
  79. -#include "JSTestSupplemental.h"
  80. #include "TestInterface.h"
  81. -#include "TestSupplemental.h"
  82. #include <runtime/Error.h>
  83. #include <wtf/GetPtr.h>
  84.  
  85. -#if ENABLE(Condition11) || ENABLE(Condition12)
  86. -#include "KURL.h"
  87. -#include <runtime/JSString.h>
  88. -#endif
  89. -
  90. using namespace JSC;
  91.  
  92. namespace WebCore {
  93. @@ -57,21 +50,12 @@
  94.  
  95. static const HashTableValue JSTestInterfaceTableValues[] =
  96. {
  97. -#if ENABLE(Condition11) || ENABLE(Condition12)
  98. - { "str1", DontDelete | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceStr1), (intptr_t)0 THUNK_GENERATOR(0) INTRINSIC(DFG::NoIntrinsic) },
  99. -#endif
  100. -#if ENABLE(Condition11) || ENABLE(Condition12)
  101. - { "str2", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceStr2), (intptr_t)setJSTestInterfaceStr2 THUNK_GENERATOR(0) INTRINSIC(DFG::NoIntrinsic) },
  102. -#endif
  103. -#if ENABLE(Condition11) || ENABLE(Condition12)
  104. - { "str3", DontDelete, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceStr3), (intptr_t)setJSTestInterfaceStr3 THUNK_GENERATOR(0) INTRINSIC(DFG::NoIntrinsic) },
  105. -#endif
  106. { "constructor", DontEnum | ReadOnly, (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestInterfaceConstructor), (intptr_t)0 THUNK_GENERATOR(0) INTRINSIC(DFG::NoIntrinsic) },
  107. { 0, 0, 0, 0 THUNK_GENERATOR(0) INTRINSIC(DFG::NoIntrinsic) }
  108. };
  109.  
  110. #undef THUNK_GENERATOR
  111. -static const HashTable JSTestInterfaceTable = { 8, 7, JSTestInterfaceTableValues, 0 };
  112. +static const HashTable JSTestInterfaceTable = { 2, 1, JSTestInterfaceTableValues, 0 };
  113. /* Hash table for constructor */
  114. #if ENABLE(JIT)
  115. #define THUNK_GENERATOR(generator) , generator
  116. @@ -203,70 +187,12 @@
  117. return getStaticValueDescriptor<JSTestInterface, Base>(exec, &JSTestInterfaceTable, thisObject, propertyName, descriptor);
  118. }
  119.  
  120. -#if ENABLE(Condition11) || ENABLE(Condition12)
  121. -JSValue jsTestInterfaceStr1(ExecState* exec, JSValue slotBase, const Identifier&)
  122. -{
  123. - JSTestInterface* castedThis = static_cast<JSTestInterface*>(asObject(slotBase));
  124. - UNUSED_PARAM(exec);
  125. - TestInterface* imp = static_cast<TestInterface*>(castedThis->impl());
  126. - JSValue result = jsString(exec, TestSupplemental::str1(imp));
  127. - return result;
  128. -}
  129. -
  130. -#endif
  131. -
  132. -#if ENABLE(Condition11) || ENABLE(Condition12)
  133. -JSValue jsTestInterfaceStr2(ExecState* exec, JSValue slotBase, const Identifier&)
  134. -{
  135. - JSTestInterface* castedThis = static_cast<JSTestInterface*>(asObject(slotBase));
  136. - UNUSED_PARAM(exec);
  137. - TestInterface* imp = static_cast<TestInterface*>(castedThis->impl());
  138. - JSValue result = jsString(exec, TestSupplemental::str2(imp));
  139. - return result;
  140. -}
  141. -
  142. -#endif
  143. -
  144. -#if ENABLE(Condition11) || ENABLE(Condition12)
  145. -JSValue jsTestInterfaceStr3(ExecState* exec, JSValue slotBase, const Identifier&)
  146. -{
  147. - JSTestInterface* castedThis = static_cast<JSTestInterface*>(asObject(slotBase));
  148. - return JSTestSupplemental::str3(castedThis, exec);
  149. -}
  150. -
  151. -#endif
  152. -
  153. JSValue jsTestInterfaceConstructor(ExecState* exec, JSValue slotBase, const Identifier&)
  154. {
  155. JSTestInterface* domObject = static_cast<JSTestInterface*>(asObject(slotBase));
  156. return JSTestInterface::getConstructor(exec, domObject->globalObject());
  157. }
  158.  
  159. -void JSTestInterface::put(JSCell* cell, ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySlot& slot)
  160. -{
  161. - JSTestInterface* thisObject = jsCast<JSTestInterface*>(cell);
  162. - ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
  163. - lookupPut<JSTestInterface, Base>(exec, propertyName, value, &JSTestInterfaceTable, thisObject, slot);
  164. -}
  165. -
  166. -#if ENABLE(Condition11) || ENABLE(Condition12)
  167. -void setJSTestInterfaceStr2(ExecState* exec, JSObject* thisObject, JSValue value)
  168. -{
  169. - JSTestInterface* castedThis = static_cast<JSTestInterface*>(thisObject);
  170. - TestInterface* imp = static_cast<TestInterface*>(castedThis->impl());
  171. - TestSupplemental::setStr2(imp, ustringToString(value.isEmpty() ? UString() : value.toString(exec)));
  172. -}
  173. -
  174. -#endif
  175. -
  176. -#if ENABLE(Condition11) || ENABLE(Condition12)
  177. -void setJSTestInterfaceStr3(ExecState* exec, JSObject* thisObject, JSValue value)
  178. -{
  179. - JSTestSupplemental::setStr3(static_cast<JSTestInterface*>(thisObject), exec, value);
  180. -}
  181. -
  182. -#endif
  183. -
  184. JSValue JSTestInterface::getConstructor(ExecState* exec, JSGlobalObject* globalObject)
  185. {
  186. return getDOMConstructor<JSTestInterfaceConstructor>(exec, static_cast<JSDOMGlobalObject*>(globalObject));
  187.  
  188. PASS: (JS) JSTestSerializedScriptValueInterface.h
  189. PASS: (JS) JSTestSerializedScriptValueInterface.cpp
  190. PASS: (JS) JSTestCallback.h
  191. PASS: (JS) JSTestCallback.cpp
  192. PASS: (V8) V8TestNamedConstructor.cpp
  193. PASS: (V8) V8TestNamedConstructor.h
  194. PASS: (V8) V8TestObj.cpp
  195. PASS: (V8) V8TestObj.h
  196. PASS: (V8) V8Float64Array.cpp
  197. PASS: (V8) V8Float64Array.h
  198. PASS: (V8) V8TestMediaQueryListListener.cpp
  199. PASS: (V8) V8TestMediaQueryListListener.h
  200. PASS: (V8) V8TestEventConstructor.h
  201. PASS: (V8) V8TestEventConstructor.cpp
  202. FAIL: (V8) V8TestInterface.cpp
  203. --- WebCore/bindings/scripts/test/V8/V8TestInterface.cpp 2011-11-29 20:36:44.917237415 -0800
  204. +++ /tmp/tmpaQFhyA/V8TestInterface.cpp 2011-12-01 05:24:27.749627423 -0800
  205. @@ -25,14 +25,12 @@
  206.  
  207. #include "ExceptionCode.h"
  208. #include "RuntimeEnabledFeatures.h"
  209. -#include "TestSupplemental.h"
  210. #include "V8Binding.h"
  211. #include "V8BindingMacros.h"
  212. #include "V8BindingState.h"
  213. #include "V8DOMWrapper.h"
  214. #include "V8IsolatedContext.h"
  215. #include "V8Proxy.h"
  216. -#include "V8TestSupplemental.h"
  217. #include <wtf/UnusedParam.h>
  218.  
  219. namespace WebCore {
  220. @@ -43,58 +41,8 @@
  221.  
  222. template <typename T> void V8_USE(T) { }
  223.  
  224. -#if ENABLE(Condition11) || ENABLE(Condition12)
  225. -
  226. -static v8::Handle<v8::Value> str1AttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
  227. -{
  228. - INC_STATS("DOM.TestInterface.str1._get");
  229. - TestInterface* imp = V8TestInterface::toNative(info.Holder());
  230. - return v8String(TestSupplemental::str1(imp));
  231. -}
  232. -
  233. -#endif // ENABLE(Condition11) || ENABLE(Condition12)
  234. -
  235. -#if ENABLE(Condition11) || ENABLE(Condition12)
  236. -
  237. -static v8::Handle<v8::Value> str2AttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info)
  238. -{
  239. - INC_STATS("DOM.TestInterface.str2._get");
  240. - TestInterface* imp = V8TestInterface::toNative(info.Holder());
  241. - return v8String(TestSupplemental::str2(imp));
  242. -}
  243. -
  244. -#endif // ENABLE(Condition11) || ENABLE(Condition12)
  245. -
  246. -#if ENABLE(Condition11) || ENABLE(Condition12)
  247. -
  248. -static void str2AttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info)
  249. -{
  250. - INC_STATS("DOM.TestInterface.str2._set");
  251. - TestInterface* imp = V8TestInterface::toNative(info.Holder());
  252. - STRING_TO_V8PARAMETER_EXCEPTION_BLOCK_VOID(V8Parameter<>, v, value);
  253. - TestSupplemental::setStr2(imp, v);
  254. - return;
  255. -}
  256. -
  257. -#endif // ENABLE(Condition11) || ENABLE(Condition12)
  258. -
  259. } // namespace TestInterfaceInternal
  260.  
  261. -static const BatchedAttribute TestInterfaceAttrs[] = {
  262. -#if ENABLE(Condition11) || ENABLE(Condition12)
  263. - // Attribute 'str1' (Type: 'readonly attribute' ExtAttr: 'Conditional ImplementedBy')
  264. - {"str1", TestInterfaceInternal::str1AttrGetter, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  265. -#endif // ENABLE(Condition11) || ENABLE(Condition12)
  266. -#if ENABLE(Condition11) || ENABLE(Condition12)
  267. - // Attribute 'str2' (Type: 'attribute' ExtAttr: 'Conditional ImplementedBy')
  268. - {"str2", TestInterfaceInternal::str2AttrGetter, TestInterfaceInternal::str2AttrSetter, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  269. -#endif // ENABLE(Condition11) || ENABLE(Condition12)
  270. -#if ENABLE(Condition11) || ENABLE(Condition12)
  271. - // Attribute 'str3' (Type: 'attribute' ExtAttr: 'CustomSetter CustomGetter Conditional ImplementedBy')
  272. - {"str3", V8TestSupplemental::str3AccessorGetter, V8TestSupplemental::str3AccessorSetter, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  273. -#endif // ENABLE(Condition11) || ENABLE(Condition12)
  274. -};
  275. -
  276. v8::Handle<v8::Value> V8TestInterface::constructorCallback(const v8::Arguments& args)
  277. {
  278. INC_STATS("DOM.TestInterface.Constructor");
  279. @@ -133,7 +81,7 @@
  280.  
  281. v8::Local<v8::Signature> defaultSignature;
  282. defaultSignature = configureTemplate(desc, "TestInterface", v8::Persistent<v8::FunctionTemplate>(), V8TestInterface::internalFieldCount,
  283. - TestInterfaceAttrs, WTF_ARRAY_LENGTH(TestInterfaceAttrs),
  284. + 0, 0,
  285. 0, 0);
  286. UNUSED_PARAM(defaultSignature); // In some cases, it will not be used.
  287. desc->SetCallHandler(V8TestInterface::constructorCallback);
  288.  
  289. PASS: (V8) V8TestInterface.h
  290. PASS: (V8) V8TestSerializedScriptValueInterface.cpp
  291. PASS: (V8) V8TestSerializedScriptValueInterface.h
  292. PASS: (V8) V8TestCallback.h
  293. PASS: (V8) V8TestCallback.cpp
  294. gcc: error trying to exec 'cc1obj': execvp: No such file or directory
  295.  
  296. PASS: (ObjC) DOMTestNamedConstructor.h
  297. PASS: (ObjC) DOMTestNamedConstructorInternal.h
  298. PASS: (ObjC) DOMTestNamedConstructor.mm
  299. gcc: error trying to exec 'cc1obj': execvp: No such file or directory
  300.  
  301. PASS: (ObjC) DOMTestObjInternal.h
  302. PASS: (ObjC) DOMTestObj.mm
  303. PASS: (ObjC) DOMTestObj.h
  304. gcc: error trying to exec 'cc1obj': execvp: No such file or directory
  305.  
  306. PASS: (ObjC) DOMFloat64ArrayInternal.h
  307. PASS: (ObjC) DOMFloat64Array.mm
  308. PASS: (ObjC) DOMFloat64Array.h
  309. gcc: error trying to exec 'cc1obj': execvp: No such file or directory
  310.  
  311. PASS: (ObjC) DOMTestMediaQueryListListener.h
  312. PASS: (ObjC) DOMTestMediaQueryListListener.mm
  313. PASS: (ObjC) DOMTestMediaQueryListListenerInternal.h
  314. gcc: error trying to exec 'cc1obj': execvp: No such file or directory
  315.  
  316. PASS: (ObjC) DOMTestEventConstructorInternal.h
  317. PASS: (ObjC) DOMTestEventConstructor.h
  318. PASS: (ObjC) DOMTestEventConstructor.mm
  319. gcc: error trying to exec 'cc1obj': execvp: No such file or directory
  320.  
  321. PASS: (ObjC) DOMTestInterfaceInternal.h
  322. FAIL: (ObjC) DOMTestInterface.mm
  323. --- WebCore/bindings/scripts/test/ObjC/DOMTestInterface.mm 2011-11-29 20:36:44.909377966 -0800
  324. +++ /tmp/tmpDr7qGA/DOMTestInterface.mm 2011-12-01 05:24:28.297877550 -0800
  325. @@ -41,9 +41,7 @@
  326. #import "DOMTestInterfaceInternal.h"
  327. #import "ExceptionHandlers.h"
  328. #import "JSMainThreadExecState.h"
  329. -#import "KURL.h"
  330. #import "TestInterface.h"
  331. -#import "TestSupplemental.h"
  332. #import "ThreadCheck.h"
  333. #import "WebCoreObjCExtras.h"
  334. #import "WebScriptObjectPrivate.h"
  335. @@ -70,42 +68,6 @@
  336. [super finalize];
  337. }
  338.  
  339. -#if ENABLE(Condition11) || ENABLE(Condition12)
  340. -- (NSString *)str1
  341. -{
  342. - WebCore::JSMainThreadNullState state;
  343. - return TestSupplemental::str1(IMPL);
  344. -}
  345. -#endif
  346. -
  347. -#if ENABLE(Condition11) || ENABLE(Condition12)
  348. -- (NSString *)str2
  349. -{
  350. - WebCore::JSMainThreadNullState state;
  351. - return TestSupplemental::str2(IMPL);
  352. -}
  353. -
  354. -- (void)setStr2:(NSString *)newStr2
  355. -{
  356. - WebCore::JSMainThreadNullState state;
  357. - TestSupplemental::setStr2(IMPL, newStr2);
  358. -}
  359. -#endif
  360. -
  361. -#if ENABLE(Condition11) || ENABLE(Condition12)
  362. -- (NSString *)str3
  363. -{
  364. - WebCore::JSMainThreadNullState state;
  365. - return TestSupplemental::str3(IMPL);
  366. -}
  367. -
  368. -- (void)setStr3:(NSString *)newStr3
  369. -{
  370. - WebCore::JSMainThreadNullState state;
  371. - TestSupplemental::setStr3(IMPL, newStr3);
  372. -}
  373. -#endif
  374. -
  375. @end
  376.  
  377. WebCore::TestInterface* core(DOMTestInterface *wrapper)
  378.  
  379. FAIL: (ObjC) DOMTestInterface.h
  380. --- WebCore/bindings/scripts/test/ObjC/DOMTestInterface.h 2011-11-29 20:36:44.909377966 -0800
  381. +++ /tmp/tmpDr7qGA/DOMTestInterface.h 2011-12-01 05:24:28.297877550 -0800
  382. @@ -28,20 +28,7 @@
  383.  
  384. #if WEBKIT_VERSION_MAX_ALLOWED >= WEBKIT_VERSION_LATEST
  385.  
  386. -@class NSString;
  387. -
  388. @interface DOMTestInterface : DOMObject
  389. -#if ENABLE(Condition11) || ENABLE(Condition12)
  390. -- (NSString *)str1;
  391. -#endif
  392. -#if ENABLE(Condition11) || ENABLE(Condition12)
  393. -- (NSString *)str2;
  394. -- (void)setStr2:(NSString *)newStr2;
  395. -#endif
  396. -#if ENABLE(Condition11) || ENABLE(Condition12)
  397. -- (NSString *)str3;
  398. -- (void)setStr3:(NSString *)newStr3;
  399. -#endif
  400. @end
  401.  
  402. #endif
  403.  
  404. gcc: error trying to exec 'cc1obj': execvp: No such file or directory
  405.  
  406. PASS: (ObjC) DOMTestSerializedScriptValueInterfaceInternal.h
  407. PASS: (ObjC) DOMTestSerializedScriptValueInterface.h
  408. PASS: (ObjC) DOMTestSerializedScriptValueInterface.mm
  409. gcc: error trying to exec 'cc1obj': execvp: No such file or directory
  410.  
  411. PASS: (ObjC) DOMTestCallback.mm
  412. PASS: (ObjC) DOMTestCallback.h
  413. PASS: (ObjC) DOMTestCallbackInternal.h
  414. PASS: (GObject) WebKitDOMTestNamedConstructor.h
  415. PASS: (GObject) WebKitDOMTestNamedConstructor.cpp
  416. PASS: (GObject) WebKitDOMTestNamedConstructorPrivate.h
  417. PASS: (GObject) WebKitDOMTestObjPrivate.h
  418. PASS: (GObject) WebKitDOMTestObj.h
  419. PASS: (GObject) WebKitDOMTestObj.cpp
  420. PASS: (GObject) WebKitDOMFloat64Array.cpp
  421. PASS: (GObject) WebKitDOMFloat64Array.h
  422. PASS: (GObject) WebKitDOMFloat64ArrayPrivate.h
  423. PASS: (GObject) WebKitDOMTestMediaQueryListListener.cpp
  424. PASS: (GObject) WebKitDOMTestMediaQueryListListenerPrivate.h
  425. PASS: (GObject) WebKitDOMTestMediaQueryListListener.h
  426. PASS: (GObject) WebKitDOMTestEventConstructor.cpp
  427. PASS: (GObject) WebKitDOMTestEventConstructor.h
  428. PASS: (GObject) WebKitDOMTestEventConstructorPrivate.h
  429. PASS: (GObject) WebKitDOMTestInterfacePrivate.h
  430. FAIL: (GObject) WebKitDOMTestInterface.h
  431. --- WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.h 2011-11-29 20:36:44.721798509 -0800
  432. +++ /tmp/tmplspyeQ/WebKitDOMTestInterface.h 2011-12-01 05:24:28.830628490 -0800
  433. @@ -46,37 +46,6 @@
  434. WEBKIT_API GType
  435. webkit_dom_test_interface_get_type (void);
  436.  
  437. -/**
  438. - * webkit_dom_test_interface_get_str1:
  439. - * @self: A #WebKitDOMTestInterface
  440. - *
  441. - * Returns:
  442. - *
  443. -**/
  444. -WEBKIT_API gchar*
  445. -webkit_dom_test_interface_get_str1(WebKitDOMTestInterface* self);
  446. -
  447. -/**
  448. - * webkit_dom_test_interface_get_str2:
  449. - * @self: A #WebKitDOMTestInterface
  450. - *
  451. - * Returns:
  452. - *
  453. -**/
  454. -WEBKIT_API gchar*
  455. -webkit_dom_test_interface_get_str2(WebKitDOMTestInterface* self);
  456. -
  457. -/**
  458. - * webkit_dom_test_interface_set_str2:
  459. - * @self: A #WebKitDOMTestInterface
  460. - * @value: A #gchar
  461. - *
  462. - * Returns:
  463. - *
  464. -**/
  465. -WEBKIT_API void
  466. -webkit_dom_test_interface_set_str2(WebKitDOMTestInterface* self, const gchar* value);
  467. -
  468. G_END_DECLS
  469.  
  470. #endif /* WebKitDOMTestInterface_h */
  471.  
  472. FAIL: (GObject) WebKitDOMTestInterface.cpp
  473. --- WebCore/bindings/scripts/test/GObject/WebKitDOMTestInterface.cpp 2011-11-29 20:36:44.721798509 -0800
  474. +++ /tmp/tmplspyeQ/WebKitDOMTestInterface.cpp 2011-12-01 05:24:28.830628490 -0800
  475. @@ -29,7 +29,6 @@
  476. #include "ExceptionCode.h"
  477. #include "JSMainThreadExecState.h"
  478. #include "TestInterface.h"
  479. -#include "TestSupplemental.h"
  480. #include "WebKitDOMBinding.h"
  481. #include "gobject/ConvertToUTF8String.h"
  482. #include "webkit/WebKitDOMTestInterface.h"
  483. @@ -52,47 +51,6 @@
  484.  
  485. } // namespace WebKit //
  486.  
  487. -gchar*
  488. -webkit_dom_test_interface_get_str1(WebKitDOMTestInterface* self)
  489. -{
  490. -#if ENABLE(Condition11) || ENABLE(Condition12)
  491. - g_return_val_if_fail(self, 0);
  492. - WebCore::JSMainThreadNullState state;
  493. - WebCore::TestInterface * item = WebKit::core(self);
  494. - gchar* res = convertToUTF8String(TestSupplemental::str1(item));
  495. - return res;
  496. -#else
  497. - return NULL;
  498. -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
  499. -}
  500. -
  501. -gchar*
  502. -webkit_dom_test_interface_get_str2(WebKitDOMTestInterface* self)
  503. -{
  504. -#if ENABLE(Condition11) || ENABLE(Condition12)
  505. - g_return_val_if_fail(self, 0);
  506. - WebCore::JSMainThreadNullState state;
  507. - WebCore::TestInterface * item = WebKit::core(self);
  508. - gchar* res = convertToUTF8String(TestSupplemental::str2(item));
  509. - return res;
  510. -#else
  511. - return NULL;
  512. -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
  513. -}
  514. -
  515. -void
  516. -webkit_dom_test_interface_set_str2(WebKitDOMTestInterface* self, const gchar* value)
  517. -{
  518. -#if ENABLE(Condition11) || ENABLE(Condition12)
  519. - g_return_if_fail(self);
  520. - WebCore::JSMainThreadNullState state;
  521. - WebCore::TestInterface * item = WebKit::core(self);
  522. - g_return_if_fail(value);
  523. - WTF::String converted_value = WTF::String::fromUTF8(value);
  524. - TestSupplemental::setStr2(item, converted_value);
  525. -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
  526. -}
  527. -
  528.  
  529. G_DEFINE_TYPE(WebKitDOMTestInterface, webkit_dom_test_interface, WEBKIT_TYPE_DOM_OBJECT)
  530.  
  531. @@ -111,12 +69,6 @@
  532. } // namespace WebKit
  533. enum {
  534. PROP_0,
  535. -#if ENABLE(Condition11) || ENABLE(Condition12)
  536. - PROP_STR1,
  537. -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
  538. -#if ENABLE(Condition11) || ENABLE(Condition12)
  539. - PROP_STR2,
  540. -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
  541. };
  542.  
  543.  
  544. @@ -139,16 +91,7 @@
  545. static void webkit_dom_test_interface_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec)
  546. {
  547. WebCore::JSMainThreadNullState state;
  548. - WebKitDOMTestInterface* self = WEBKIT_DOM_TEST_INTERFACE(object);
  549. - WebCore::TestInterface* coreSelf = WebKit::core(self);
  550. switch (prop_id) {
  551. -#if ENABLE(Condition11) || ENABLE(Condition12)
  552. - case PROP_STR2:
  553. - {
  554. - TestSupplemental::setStr2(coreSelf, WTF::String::fromUTF8(g_value_get_string(value)));
  555. - break;
  556. - }
  557. -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
  558. default:
  559. G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
  560. break;
  561. @@ -159,23 +102,7 @@
  562. static void webkit_dom_test_interface_get_property(GObject* object, guint prop_id, GValue* value, GParamSpec* pspec)
  563. {
  564. WebCore::JSMainThreadNullState state;
  565. - WebKitDOMTestInterface* self = WEBKIT_DOM_TEST_INTERFACE(object);
  566. - WebCore::TestInterface* coreSelf = WebKit::core(self);
  567. switch (prop_id) {
  568. -#if ENABLE(Condition11) || ENABLE(Condition12)
  569. - case PROP_STR1:
  570. - {
  571. - g_value_take_string(value, convertToUTF8String(TestSupplemental::str1(coreSelf)));
  572. - break;
  573. - }
  574. -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
  575. -#if ENABLE(Condition11) || ENABLE(Condition12)
  576. - case PROP_STR2:
  577. - {
  578. - g_value_take_string(value, convertToUTF8String(TestSupplemental::str2(coreSelf)));
  579. - break;
  580. - }
  581. -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
  582. default:
  583. G_OBJECT_WARN_INVALID_PROPERTY_ID(object, prop_id, pspec);
  584. break;
  585. @@ -198,24 +125,6 @@
  586. gobjectClass->get_property = webkit_dom_test_interface_get_property;
  587. gobjectClass->constructed = webkit_dom_test_interface_constructed;
  588.  
  589. -#if ENABLE(Condition11) || ENABLE(Condition12)
  590. - g_object_class_install_property(gobjectClass,
  591. - PROP_STR1,
  592. - g_param_spec_string("str1", /* name */
  593. - "test_interface_str1", /* short description */
  594. - "read-only gchar* TestInterface.str1", /* longer - could do with some extra doc stuff here */
  595. - "", /* default */
  596. - WEBKIT_PARAM_READABLE));
  597. -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
  598. -#if ENABLE(Condition11) || ENABLE(Condition12)
  599. - g_object_class_install_property(gobjectClass,
  600. - PROP_STR2,
  601. - g_param_spec_string("str2", /* name */
  602. - "test_interface_str2", /* short description */
  603. - "read-write gchar* TestInterface.str2", /* longer - could do with some extra doc stuff here */
  604. - "", /* default */
  605. - WEBKIT_PARAM_READWRITE));
  606. -#endif /* ENABLE(Condition11) || ENABLE(Condition12) */
  607.  
  608.  
  609. }
  610.  
  611. PASS: (GObject) WebKitDOMTestSerializedScriptValueInterfacePrivate.h
  612. PASS: (GObject) WebKitDOMTestSerializedScriptValueInterface.h
  613. PASS: (GObject) WebKitDOMTestSerializedScriptValueInterface.cpp
  614. PASS: (GObject) WebKitDOMTestCallback.h
  615. PASS: (GObject) WebKitDOMTestCallbackPrivate.h
  616. PASS: (GObject) WebKitDOMTestCallback.cpp
  617. PASS: (CPP) WebDOMTestNamedConstructor.cpp
  618. PASS: (CPP) WebDOMTestNamedConstructor.h
  619. PASS: (CPP) WebDOMTestObj.cpp
  620. PASS: (CPP) WebDOMTestObj.h
  621. PASS: (CPP) WebDOMFloat64Array.h
  622. PASS: (CPP) WebDOMFloat64Array.cpp
  623. PASS: (CPP) WebDOMTestMediaQueryListListener.cpp
  624. PASS: (CPP) WebDOMTestMediaQueryListListener.h
  625. PASS: (CPP) WebDOMTestEventConstructor.h
  626. PASS: (CPP) WebDOMTestEventConstructor.cpp
  627. FAIL: (CPP) WebDOMTestInterface.cpp
  628. --- WebCore/bindings/scripts/test/CPP/WebDOMTestInterface.cpp 2011-11-29 20:36:44.706127941 -0800
  629. +++ /tmp/tmpLCJeQS/WebDOMTestInterface.cpp 2011-12-01 05:24:29.321627787 -0800
  630. @@ -24,12 +24,8 @@
  631.  
  632. #include "WebDOMTestInterface.h"
  633.  
  634. -#include "KURL.h"
  635. #include "TestInterface.h"
  636. -#include "TestSupplemental.h"
  637. -#include "WebDOMString.h"
  638. #include "WebExceptionHandler.h"
  639. -#include "wtf/text/AtomicString.h"
  640. #include <wtf/GetPtr.h>
  641. #include <wtf/RefPtr.h>
  642.  
  643. @@ -78,34 +74,6 @@
  644. m_impl = 0;
  645. }
  646.  
  647. -#if ENABLE(Condition11) || ENABLE(Condition12)
  648. -WebDOMString WebDOMTestInterface::str1() const
  649. -{
  650. - if (!impl())
  651. - return WebDOMString();
  652. -
  653. - return static_cast<const WTF::String&>(TestSupplemental::str1(impl()));
  654. -}
  655. -
  656. -#endif
  657. -#if ENABLE(Condition11) || ENABLE(Condition12)
  658. -WebDOMString WebDOMTestInterface::str2() const
  659. -{
  660. - if (!impl())
  661. - return WebDOMString();
  662. -
  663. - return static_cast<const WTF::String&>(TestSupplemental::str2(impl()));
  664. -}
  665. -
  666. -void WebDOMTestInterface::setStr2(const WebDOMString& newStr2)
  667. -{
  668. - if (!impl())
  669. - return;
  670. -
  671. - TestSupplemental::setStr2(impl(), newStr2);
  672. -}
  673. -
  674. -#endif
  675. WebCore::TestInterface* toWebCore(const WebDOMTestInterface& wrapper)
  676. {
  677. return wrapper.impl();
  678.  
  679. FAIL: (CPP) WebDOMTestInterface.h
  680. --- WebCore/bindings/scripts/test/CPP/WebDOMTestInterface.h 2011-11-29 20:36:44.706127941 -0800
  681. +++ /tmp/tmpLCJeQS/WebDOMTestInterface.h 2011-12-01 05:24:29.321627787 -0800
  682. @@ -41,13 +41,6 @@
  683. WebDOMTestInterface& operator=(const WebDOMTestInterface&);
  684. virtual ~WebDOMTestInterface();
  685.  
  686. -#if ENABLE(Condition11) || ENABLE(Condition12)
  687. - WebDOMString str1() const;
  688. -#endif
  689. -#if ENABLE(Condition11) || ENABLE(Condition12)
  690. - WebDOMString str2() const;
  691. - void setStr2(const WebDOMString&);
  692. -#endif
  693.  
  694. WebCore::TestInterface* impl() const;
  695.  
  696.  
  697. PASS: (CPP) WebDOMTestSerializedScriptValueInterface.cpp
  698. PASS: (CPP) WebDOMTestSerializedScriptValueInterface.h
  699. PASS: (CPP) WebDOMTestCallback.h
  700. PASS: (CPP) WebDOMTestCallback.cpp
  701.  
  702. Some tests FAIL! (To update the reference files, execute "run-bindings-tests --reset-results")
  703. program finished with exit code 255
  704. elapsedTime=3.002871
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement