Advertisement
Guest User

Untitled

a guest
Apr 29th, 2014
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 37.21 KB | None | 0 0
  1. --- out/Release/gen/blink/bindings/V8Element.cpp.old    2014-04-29 11:56:13.908831394 -0400
  2. +++ out/Release/gen/blink/bindings/V8Element.cpp    2014-04-29 11:58:19.560838240 -0400
  3. @@ -80,20 +80,6 @@
  4.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  5.  }
  6.  
  7. -static void tagNameAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  8. -{
  9. -    v8::Handle<v8::Object> holder = info.Holder();
  10. -    Element* impl = V8Element::toNative(holder);
  11. -    v8SetReturnValueStringOrNull(info, impl->tagName(), info.GetIsolate());
  12. -}
  13. -
  14. -static void tagNameAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  15. -{
  16. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  17. -    ElementV8Internal::tagNameAttributeGetterForMainWorld(info);
  18. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  19. -}
  20. -
  21.  static void attributesAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  22.  {
  23.      v8::Handle<v8::Object> holder = info.Holder();
  24. @@ -180,36 +166,6 @@
  25.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  26.  }
  27.  
  28. -static void idAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  29. -{
  30. -    v8::Handle<v8::Object> holder = info.Holder();
  31. -    Element* impl = V8Element::toNative(holder);
  32. -    v8SetReturnValueString(info, impl->getIdAttribute(), info.GetIsolate());
  33. -}
  34. -
  35. -static void idAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  36. -{
  37. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  38. -    ElementV8Internal::idAttributeGetterForMainWorld(info);
  39. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  40. -}
  41. -
  42. -static void idAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
  43. -{
  44. -    v8::Handle<v8::Object> holder = info.Holder();
  45. -    Element* impl = V8Element::toNative(holder);
  46. -    TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
  47. -    impl->setAttribute(HTMLNames::idAttr, cppValue);
  48. -}
  49. -
  50. -static void idAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
  51. -{
  52. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
  53. -    CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
  54. -    ElementV8Internal::idAttributeSetterForMainWorld(v8Value, info);
  55. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  56. -}
  57. -
  58.  static void namespaceURIAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  59.  {
  60.      v8::Handle<v8::Object> holder = info.Holder();
  61. @@ -224,20 +180,6 @@
  62.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  63.  }
  64.  
  65. -static void namespaceURIAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  66. -{
  67. -    v8::Handle<v8::Object> holder = info.Holder();
  68. -    Element* impl = V8Element::toNative(holder);
  69. -    v8SetReturnValueStringOrNull(info, impl->namespaceURI(), info.GetIsolate());
  70. -}
  71. -
  72. -static void namespaceURIAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  73. -{
  74. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  75. -    ElementV8Internal::namespaceURIAttributeGetterForMainWorld(info);
  76. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  77. -}
  78. -
  79.  static void prefixAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  80.  {
  81.      v8::Handle<v8::Object> holder = info.Holder();
  82. @@ -269,37 +211,6 @@
  83.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  84.  }
  85.  
  86. -static void prefixAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  87. -{
  88. -    v8::Handle<v8::Object> holder = info.Holder();
  89. -    Element* impl = V8Element::toNative(holder);
  90. -    v8SetReturnValueStringOrNull(info, impl->prefix(), info.GetIsolate());
  91. -}
  92. -
  93. -static void prefixAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  94. -{
  95. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  96. -    ElementV8Internal::prefixAttributeGetterForMainWorld(info);
  97. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  98. -}
  99. -
  100. -static void prefixAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
  101. -{
  102. -    v8::Handle<v8::Object> holder = info.Holder();
  103. -    ExceptionState exceptionState(ExceptionState::SetterContext, "prefix", "Element", holder, info.GetIsolate());
  104. -    Element* impl = V8Element::toNative(holder);
  105. -    TOSTRING_VOID(V8StringResource<WithNullCheck>, cppValue, v8Value);
  106. -    impl->setPrefix(cppValue, exceptionState);
  107. -    exceptionState.throwIfNeeded();
  108. -}
  109. -
  110. -static void prefixAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
  111. -{
  112. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
  113. -    ElementV8Internal::prefixAttributeSetterForMainWorld(v8Value, info);
  114. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  115. -}
  116. -
  117.  static void localNameAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  118.  {
  119.      v8::Handle<v8::Object> holder = info.Holder();
  120. @@ -314,20 +225,6 @@
  121.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  122.  }
  123.  
  124. -static void localNameAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  125. -{
  126. -    v8::Handle<v8::Object> holder = info.Holder();
  127. -    Element* impl = V8Element::toNative(holder);
  128. -    v8SetReturnValueStringOrNull(info, impl->localName(), info.GetIsolate());
  129. -}
  130. -
  131. -static void localNameAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  132. -{
  133. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  134. -    ElementV8Internal::localNameAttributeGetterForMainWorld(info);
  135. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  136. -}
  137. -
  138.  static void offsetLeftAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  139.  {
  140.      v8::Handle<v8::Object> holder = info.Holder();
  141. @@ -342,20 +239,6 @@
  142.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  143.  }
  144.  
  145. -static void offsetLeftAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  146. -{
  147. -    v8::Handle<v8::Object> holder = info.Holder();
  148. -    Element* impl = V8Element::toNative(holder);
  149. -    v8SetReturnValueInt(info, impl->offsetLeft());
  150. -}
  151. -
  152. -static void offsetLeftAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  153. -{
  154. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  155. -    ElementV8Internal::offsetLeftAttributeGetterForMainWorld(info);
  156. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  157. -}
  158. -
  159.  static void offsetTopAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  160.  {
  161.      v8::Handle<v8::Object> holder = info.Holder();
  162. @@ -370,20 +253,6 @@
  163.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  164.  }
  165.  
  166. -static void offsetTopAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  167. -{
  168. -    v8::Handle<v8::Object> holder = info.Holder();
  169. -    Element* impl = V8Element::toNative(holder);
  170. -    v8SetReturnValueInt(info, impl->offsetTop());
  171. -}
  172. -
  173. -static void offsetTopAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  174. -{
  175. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  176. -    ElementV8Internal::offsetTopAttributeGetterForMainWorld(info);
  177. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  178. -}
  179. -
  180.  static void offsetWidthAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  181.  {
  182.      v8::Handle<v8::Object> holder = info.Holder();
  183. @@ -398,20 +267,6 @@
  184.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  185.  }
  186.  
  187. -static void offsetWidthAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  188. -{
  189. -    v8::Handle<v8::Object> holder = info.Holder();
  190. -    Element* impl = V8Element::toNative(holder);
  191. -    v8SetReturnValueInt(info, impl->offsetWidth());
  192. -}
  193. -
  194. -static void offsetWidthAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  195. -{
  196. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  197. -    ElementV8Internal::offsetWidthAttributeGetterForMainWorld(info);
  198. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  199. -}
  200. -
  201.  static void offsetHeightAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  202.  {
  203.      v8::Handle<v8::Object> holder = info.Holder();
  204. @@ -426,20 +281,6 @@
  205.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  206.  }
  207.  
  208. -static void offsetHeightAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  209. -{
  210. -    v8::Handle<v8::Object> holder = info.Holder();
  211. -    Element* impl = V8Element::toNative(holder);
  212. -    v8SetReturnValueInt(info, impl->offsetHeight());
  213. -}
  214. -
  215. -static void offsetHeightAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  216. -{
  217. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  218. -    ElementV8Internal::offsetHeightAttributeGetterForMainWorld(info);
  219. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  220. -}
  221. -
  222.  static void offsetParentAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  223.  {
  224.      v8::Handle<v8::Object> holder = info.Holder();
  225. @@ -482,20 +323,6 @@
  226.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  227.  }
  228.  
  229. -static void clientLeftAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  230. -{
  231. -    v8::Handle<v8::Object> holder = info.Holder();
  232. -    Element* impl = V8Element::toNative(holder);
  233. -    v8SetReturnValueInt(info, impl->clientLeft());
  234. -}
  235. -
  236. -static void clientLeftAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  237. -{
  238. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  239. -    ElementV8Internal::clientLeftAttributeGetterForMainWorld(info);
  240. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  241. -}
  242. -
  243.  static void clientTopAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  244.  {
  245.      v8::Handle<v8::Object> holder = info.Holder();
  246. @@ -510,20 +337,6 @@
  247.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  248.  }
  249.  
  250. -static void clientTopAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  251. -{
  252. -    v8::Handle<v8::Object> holder = info.Holder();
  253. -    Element* impl = V8Element::toNative(holder);
  254. -    v8SetReturnValueInt(info, impl->clientTop());
  255. -}
  256. -
  257. -static void clientTopAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  258. -{
  259. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  260. -    ElementV8Internal::clientTopAttributeGetterForMainWorld(info);
  261. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  262. -}
  263. -
  264.  static void clientWidthAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  265.  {
  266.      v8::Handle<v8::Object> holder = info.Holder();
  267. @@ -538,20 +351,6 @@
  268.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  269.  }
  270.  
  271. -static void clientWidthAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  272. -{
  273. -    v8::Handle<v8::Object> holder = info.Holder();
  274. -    Element* impl = V8Element::toNative(holder);
  275. -    v8SetReturnValueInt(info, impl->clientWidth());
  276. -}
  277. -
  278. -static void clientWidthAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  279. -{
  280. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  281. -    ElementV8Internal::clientWidthAttributeGetterForMainWorld(info);
  282. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  283. -}
  284. -
  285.  static void clientHeightAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  286.  {
  287.      v8::Handle<v8::Object> holder = info.Holder();
  288. @@ -566,20 +365,6 @@
  289.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  290.  }
  291.  
  292. -static void clientHeightAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  293. -{
  294. -    v8::Handle<v8::Object> holder = info.Holder();
  295. -    Element* impl = V8Element::toNative(holder);
  296. -    v8SetReturnValueInt(info, impl->clientHeight());
  297. -}
  298. -
  299. -static void clientHeightAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  300. -{
  301. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  302. -    ElementV8Internal::clientHeightAttributeGetterForMainWorld(info);
  303. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  304. -}
  305. -
  306.  static void scrollLeftAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  307.  {
  308.      v8::Handle<v8::Object> holder = info.Holder();
  309. @@ -601,27 +386,6 @@
  310.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  311.  }
  312.  
  313. -static void scrollLeftAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  314. -{
  315. -    v8::Handle<v8::Object> holder = info.Holder();
  316. -    Element* impl = V8Element::toNative(holder);
  317. -    v8SetReturnValueInt(info, impl->scrollLeft());
  318. -}
  319. -
  320. -static void scrollLeftAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  321. -{
  322. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  323. -    ElementV8Internal::scrollLeftAttributeGetterForMainWorld(info);
  324. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  325. -}
  326. -
  327. -static void scrollLeftAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
  328. -{
  329. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
  330. -    V8Element::scrollLeftAttributeSetterCustom(v8Value, info);
  331. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  332. -}
  333. -
  334.  static void scrollTopAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  335.  {
  336.      v8::Handle<v8::Object> holder = info.Holder();
  337. @@ -643,27 +407,6 @@
  338.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  339.  }
  340.  
  341. -static void scrollTopAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  342. -{
  343. -    v8::Handle<v8::Object> holder = info.Holder();
  344. -    Element* impl = V8Element::toNative(holder);
  345. -    v8SetReturnValueInt(info, impl->scrollTop());
  346. -}
  347. -
  348. -static void scrollTopAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  349. -{
  350. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  351. -    ElementV8Internal::scrollTopAttributeGetterForMainWorld(info);
  352. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  353. -}
  354. -
  355. -static void scrollTopAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
  356. -{
  357. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
  358. -    V8Element::scrollTopAttributeSetterCustom(v8Value, info);
  359. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  360. -}
  361. -
  362.  static void scrollWidthAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  363.  {
  364.      v8::Handle<v8::Object> holder = info.Holder();
  365. @@ -678,20 +421,6 @@
  366.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  367.  }
  368.  
  369. -static void scrollWidthAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  370. -{
  371. -    v8::Handle<v8::Object> holder = info.Holder();
  372. -    Element* impl = V8Element::toNative(holder);
  373. -    v8SetReturnValueInt(info, impl->scrollWidth());
  374. -}
  375. -
  376. -static void scrollWidthAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  377. -{
  378. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  379. -    ElementV8Internal::scrollWidthAttributeGetterForMainWorld(info);
  380. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  381. -}
  382. -
  383.  static void scrollHeightAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  384.  {
  385.      v8::Handle<v8::Object> holder = info.Holder();
  386. @@ -706,20 +435,6 @@
  387.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  388.  }
  389.  
  390. -static void scrollHeightAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  391. -{
  392. -    v8::Handle<v8::Object> holder = info.Holder();
  393. -    Element* impl = V8Element::toNative(holder);
  394. -    v8SetReturnValueInt(info, impl->scrollHeight());
  395. -}
  396. -
  397. -static void scrollHeightAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  398. -{
  399. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  400. -    ElementV8Internal::scrollHeightAttributeGetterForMainWorld(info);
  401. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  402. -}
  403. -
  404.  static void innerHTMLAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  405.  {
  406.      v8::Handle<v8::Object> holder = info.Holder();
  407. @@ -758,39 +473,6 @@
  408.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  409.  }
  410.  
  411. -static void innerHTMLAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  412. -{
  413. -    v8::Handle<v8::Object> holder = info.Holder();
  414. -    Element* impl = V8Element::toNative(holder);
  415. -    v8SetReturnValueString(info, impl->innerHTML(), info.GetIsolate());
  416. -}
  417. -
  418. -static void innerHTMLAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  419. -{
  420. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  421. -    ElementV8Internal::innerHTMLAttributeGetterForMainWorld(info);
  422. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  423. -}
  424. -
  425. -static void innerHTMLAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
  426. -{
  427. -    v8::Handle<v8::Object> holder = info.Holder();
  428. -    ExceptionState exceptionState(ExceptionState::SetterContext, "innerHTML", "Element", holder, info.GetIsolate());
  429. -    Element* impl = V8Element::toNative(holder);
  430. -    TOSTRING_VOID(V8StringResource<WithNullCheck>, cppValue, v8Value);
  431. -    CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
  432. -    impl->setInnerHTML(cppValue, exceptionState);
  433. -    exceptionState.throwIfNeeded();
  434. -}
  435. -
  436. -static void innerHTMLAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
  437. -{
  438. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
  439. -    CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
  440. -    ElementV8Internal::innerHTMLAttributeSetterForMainWorld(v8Value, info);
  441. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  442. -}
  443. -
  444.  static void outerHTMLAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  445.  {
  446.      v8::Handle<v8::Object> holder = info.Holder();
  447. @@ -854,36 +536,6 @@
  448.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  449.  }
  450.  
  451. -static void classNameAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  452. -{
  453. -    v8::Handle<v8::Object> holder = info.Holder();
  454. -    Element* impl = V8Element::toNative(holder);
  455. -    v8SetReturnValueString(info, impl->getClassAttribute(), info.GetIsolate());
  456. -}
  457. -
  458. -static void classNameAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  459. -{
  460. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  461. -    ElementV8Internal::classNameAttributeGetterForMainWorld(info);
  462. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  463. -}
  464. -
  465. -static void classNameAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
  466. -{
  467. -    v8::Handle<v8::Object> holder = info.Holder();
  468. -    Element* impl = V8Element::toNative(holder);
  469. -    TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
  470. -    impl->setAttribute(HTMLNames::classAttr, cppValue);
  471. -}
  472. -
  473. -static void classNameAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
  474. -{
  475. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
  476. -    CustomElementCallbackDispatcher::CallbackDeliveryScope deliveryScope;
  477. -    ElementV8Internal::classNameAttributeSetterForMainWorld(v8Value, info);
  478. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  479. -}
  480. -
  481.  static void classListAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  482.  {
  483.      v8::Handle<v8::Object> holder = info.Holder();
  484. @@ -1408,35 +1060,6 @@
  485.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  486.  }
  487.  
  488. -static void onwheelAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  489. -{
  490. -    v8::Handle<v8::Object> holder = info.Holder();
  491. -    Element* impl = V8Element::toNative(holder);
  492. -    EventListener* v8Value = impl->onwheel();
  493. -    v8SetReturnValue(info, v8Value ? v8::Handle<v8::Value>(V8AbstractEventListener::cast(v8Value)->getListenerObject(impl->executionContext())) : v8::Handle<v8::Value>(v8::Null(info.GetIsolate())));
  494. -}
  495. -
  496. -static void onwheelAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  497. -{
  498. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  499. -    ElementV8Internal::onwheelAttributeGetterForMainWorld(info);
  500. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  501. -}
  502. -
  503. -static void onwheelAttributeSetterForMainWorld(v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
  504. -{
  505. -    v8::Handle<v8::Object> holder = info.Holder();
  506. -    Element* impl = V8Element::toNative(holder);
  507. -    impl->setOnwheel(V8EventListenerList::getEventListener(v8Value, true, ListenerFindOrCreate));
  508. -}
  509. -
  510. -static void onwheelAttributeSetterCallbackForMainWorld(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
  511. -{
  512. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
  513. -    ElementV8Internal::onwheelAttributeSetterForMainWorld(v8Value, info);
  514. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  515. -}
  516. -
  517.  static void previousElementSiblingAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info)
  518.  {
  519.      v8::Handle<v8::Object> holder = info.Holder();
  520. @@ -1602,21 +1225,6 @@
  521.      TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  522.  }
  523.  
  524. -static void childElementCountAttributeGetterForMainWorld(const v8::PropertyCallbackInfo<v8::Value>& info)
  525. -{
  526. -    v8::Handle<v8::Object> holder = info.Holder();
  527. -    Element* impl = V8Element::toNative(holder);
  528. -    ASSERT(impl);
  529. -    v8SetReturnValueUnsigned(info, ParentNode::childElementCount(*impl));
  530. -}
  531. -
  532. -static void childElementCountAttributeGetterCallbackForMainWorld(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
  533. -{
  534. -    TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
  535. -    ElementV8Internal::childElementCountAttributeGetterForMainWorld(info);
  536. -    TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
  537. -}
  538. -
  539.  static void getAttributeMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
  540.  {
  541.      if (UNLIKELY(info.Length() < 1)) {
  542. @@ -2534,29 +2142,29 @@
  543.  } // namespace ElementV8Internal
  544.  
  545.  static const V8DOMConfiguration::AttributeConfiguration V8ElementAttributes[] = {
  546. -    {"tagName", ElementV8Internal::tagNameAttributeGetterCallback, 0, ElementV8Internal::tagNameAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  547. +    {"tagName", ElementV8Internal::tagNameAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  548.      {"attributes", ElementV8Internal::attributesAttributeGetterCallback, 0, ElementV8Internal::attributesAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  549.      {"style", ElementV8Internal::styleAttributeGetterCallback, 0, ElementV8Internal::styleAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  550. -    {"id", ElementV8Internal::idAttributeGetterCallback, ElementV8Internal::idAttributeSetterCallback, ElementV8Internal::idAttributeGetterCallbackForMainWorld, ElementV8Internal::idAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  551. -    {"namespaceURI", ElementV8Internal::namespaceURIAttributeGetterCallback, 0, ElementV8Internal::namespaceURIAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  552. -    {"prefix", ElementV8Internal::prefixAttributeGetterCallback, ElementV8Internal::prefixAttributeSetterCallback, ElementV8Internal::prefixAttributeGetterCallbackForMainWorld, ElementV8Internal::prefixAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  553. -    {"localName", ElementV8Internal::localNameAttributeGetterCallback, 0, ElementV8Internal::localNameAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  554. -    {"offsetLeft", ElementV8Internal::offsetLeftAttributeGetterCallback, 0, ElementV8Internal::offsetLeftAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  555. -    {"offsetTop", ElementV8Internal::offsetTopAttributeGetterCallback, 0, ElementV8Internal::offsetTopAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  556. -    {"offsetWidth", ElementV8Internal::offsetWidthAttributeGetterCallback, 0, ElementV8Internal::offsetWidthAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  557. -    {"offsetHeight", ElementV8Internal::offsetHeightAttributeGetterCallback, 0, ElementV8Internal::offsetHeightAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  558. +    {"id", ElementV8Internal::idAttributeGetterCallback, ElementV8Internal::idAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  559. +    {"namespaceURI", ElementV8Internal::namespaceURIAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  560. +    {"prefix", ElementV8Internal::prefixAttributeGetterCallback, ElementV8Internal::prefixAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  561. +    {"localName", ElementV8Internal::localNameAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  562. +    {"offsetLeft", ElementV8Internal::offsetLeftAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  563. +    {"offsetTop", ElementV8Internal::offsetTopAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  564. +    {"offsetWidth", ElementV8Internal::offsetWidthAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  565. +    {"offsetHeight", ElementV8Internal::offsetHeightAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  566.      {"offsetParent", ElementV8Internal::offsetParentAttributeGetterCallback, 0, ElementV8Internal::offsetParentAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  567. -    {"clientLeft", ElementV8Internal::clientLeftAttributeGetterCallback, 0, ElementV8Internal::clientLeftAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  568. -    {"clientTop", ElementV8Internal::clientTopAttributeGetterCallback, 0, ElementV8Internal::clientTopAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  569. -    {"clientWidth", ElementV8Internal::clientWidthAttributeGetterCallback, 0, ElementV8Internal::clientWidthAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  570. -    {"clientHeight", ElementV8Internal::clientHeightAttributeGetterCallback, 0, ElementV8Internal::clientHeightAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  571. -    {"scrollLeft", ElementV8Internal::scrollLeftAttributeGetterCallback, ElementV8Internal::scrollLeftAttributeSetterCallback, ElementV8Internal::scrollLeftAttributeGetterCallbackForMainWorld, ElementV8Internal::scrollLeftAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  572. -    {"scrollTop", ElementV8Internal::scrollTopAttributeGetterCallback, ElementV8Internal::scrollTopAttributeSetterCallback, ElementV8Internal::scrollTopAttributeGetterCallbackForMainWorld, ElementV8Internal::scrollTopAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  573. -    {"scrollWidth", ElementV8Internal::scrollWidthAttributeGetterCallback, 0, ElementV8Internal::scrollWidthAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  574. -    {"scrollHeight", ElementV8Internal::scrollHeightAttributeGetterCallback, 0, ElementV8Internal::scrollHeightAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  575. -    {"innerHTML", ElementV8Internal::innerHTMLAttributeGetterCallback, ElementV8Internal::innerHTMLAttributeSetterCallback, ElementV8Internal::innerHTMLAttributeGetterCallbackForMainWorld, ElementV8Internal::innerHTMLAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  576. +    {"clientLeft", ElementV8Internal::clientLeftAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  577. +    {"clientTop", ElementV8Internal::clientTopAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  578. +    {"clientWidth", ElementV8Internal::clientWidthAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  579. +    {"clientHeight", ElementV8Internal::clientHeightAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  580. +    {"scrollLeft", ElementV8Internal::scrollLeftAttributeGetterCallback, ElementV8Internal::scrollLeftAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  581. +    {"scrollTop", ElementV8Internal::scrollTopAttributeGetterCallback, ElementV8Internal::scrollTopAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  582. +    {"scrollWidth", ElementV8Internal::scrollWidthAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  583. +    {"scrollHeight", ElementV8Internal::scrollHeightAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  584. +    {"innerHTML", ElementV8Internal::innerHTMLAttributeGetterCallback, ElementV8Internal::innerHTMLAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  585.      {"outerHTML", ElementV8Internal::outerHTMLAttributeGetterCallback, ElementV8Internal::outerHTMLAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  586. -    {"className", ElementV8Internal::classNameAttributeGetterCallback, ElementV8Internal::classNameAttributeSetterCallback, ElementV8Internal::classNameAttributeGetterCallbackForMainWorld, ElementV8Internal::classNameAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  587. +    {"className", ElementV8Internal::classNameAttributeGetterCallback, ElementV8Internal::classNameAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  588.      {"classList", ElementV8Internal::classListAttributeGetterCallback, 0, ElementV8Internal::classListAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  589.      {"dataset", ElementV8Internal::datasetAttributeGetterCallback, 0, ElementV8Internal::datasetAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  590.      {"shadowRoot", ElementV8Internal::shadowRootAttributeGetterCallback, 0, ElementV8Internal::shadowRootAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  591. @@ -2570,13 +2178,13 @@
  592.      {"onselectstart", ElementV8Internal::onselectstartAttributeGetterCallback, ElementV8Internal::onselectstartAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  593.      {"onwebkitfullscreenchange", ElementV8Internal::onwebkitfullscreenchangeAttributeGetterCallback, ElementV8Internal::onwebkitfullscreenchangeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  594.      {"onwebkitfullscreenerror", ElementV8Internal::onwebkitfullscreenerrorAttributeGetterCallback, ElementV8Internal::onwebkitfullscreenerrorAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  595. -    {"onwheel", ElementV8Internal::onwheelAttributeGetterCallback, ElementV8Internal::onwheelAttributeSetterCallback, ElementV8Internal::onwheelAttributeGetterCallbackForMainWorld, ElementV8Internal::onwheelAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  596. +    {"onwheel", ElementV8Internal::onwheelAttributeGetterCallback, ElementV8Internal::onwheelAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  597.      {"previousElementSibling", ElementV8Internal::previousElementSiblingAttributeGetterCallback, 0, ElementV8Internal::previousElementSiblingAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  598.      {"nextElementSibling", ElementV8Internal::nextElementSiblingAttributeGetterCallback, 0, ElementV8Internal::nextElementSiblingAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  599.      {"children", ElementV8Internal::childrenAttributeGetterCallback, 0, ElementV8Internal::childrenAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  600.      {"firstElementChild", ElementV8Internal::firstElementChildAttributeGetterCallback, 0, ElementV8Internal::firstElementChildAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  601.      {"lastElementChild", ElementV8Internal::lastElementChildAttributeGetterCallback, 0, ElementV8Internal::lastElementChildAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  602. -    {"childElementCount", ElementV8Internal::childElementCountAttributeGetterCallback, 0, ElementV8Internal::childElementCountAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  603. +    {"childElementCount", ElementV8Internal::childElementCountAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
  604.  };
  605.  
  606.  static const V8DOMConfiguration::MethodConfiguration V8ElementMethods[] = {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement