Changeset 65333 in webkit


Ignore:
Timestamp:
Aug 13, 2010 10:39:34 AM (14 years ago)
Author:
kinuko@chromium.org
Message:

2010-08-13 Kinuko Yasuda <kinuko@chromium.org>

Reviewed by David Levin.

Update run-bindings-tests expectations
https://bugs.webkit.org/show_bug.cgi?id=43944

The results have become out of sync after changeset 64552 and 65269.

Test: WebKitTools/Scripts/run-bindings-tests

  • bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp: (webkit_dom_test_callback_callback_with_class1param): (webkit_dom_test_callback_callback_with_class2param): (webkit_dom_test_callback_callback_with_non_bool_return_type):
  • bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
  • bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: (webkit_dom_test_obj_void_method_with_args): (webkit_dom_test_obj_int_method_with_args): (webkit_dom_test_obj_obj_method): (webkit_dom_test_obj_obj_method_with_args): (webkit_dom_test_obj_method_that_requires_all_args): (webkit_dom_test_obj_method_that_requires_all_args_and_throws): (webkit_dom_test_obj_serialized_value): (webkit_dom_test_obj_idb_key): (webkit_dom_test_obj_with_dynamic_frame_and_user_gesture): (webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad): (webkit_dom_test_obj_with_script_state_obj): (webkit_dom_test_obj_with_script_state_obj_exception): (webkit_dom_test_obj_get_read_only_string_attr): (webkit_dom_test_obj_get_read_only_test_obj_attr): (webkit_dom_test_obj_get_string_attr): (webkit_dom_test_obj_set_string_attr): (webkit_dom_test_obj_get_test_obj_attr): (webkit_dom_test_obj_set_test_obj_attr): (webkit_dom_test_obj_get_xml_obj_attr): (webkit_dom_test_obj_set_xml_obj_attr): (webkit_dom_test_obj_get_reflected_string_attr): (webkit_dom_test_obj_set_reflected_string_attr): (webkit_dom_test_obj_get_reflected_url_attr): (webkit_dom_test_obj_set_reflected_url_attr): (webkit_dom_test_obj_get_reflected_non_empty_url_attr): (webkit_dom_test_obj_set_reflected_non_empty_url_attr): (webkit_dom_test_obj_get_reflected_custom_url_attr): (webkit_dom_test_obj_set_reflected_custom_url_attr): (webkit_dom_test_obj_get_reflected_custom_non_empty_url_attr): (webkit_dom_test_obj_set_reflected_custom_non_empty_url_attr): (webkit_dom_test_obj_get_string_attr_with_getter_exception): (webkit_dom_test_obj_set_string_attr_with_getter_exception): (webkit_dom_test_obj_get_string_attr_with_setter_exception): (webkit_dom_test_obj_set_string_attr_with_setter_exception): (webkit_dom_test_obj_get_script_string_attr): (webkit_dom_test_obj_get_hash): (webkit_dom_test_obj_class_init):
  • bindings/scripts/test/GObject/WebKitDOMTestObj.h:
  • bindings/scripts/test/JS/JSTestObj.cpp: (WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
Location:
trunk/WebCore
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r65331 r65333  
     12010-08-13  Kinuko Yasuda  <kinuko@chromium.org>
     2
     3        Reviewed by David Levin.
     4
     5        Update run-bindings-tests expectations
     6        https://bugs.webkit.org/show_bug.cgi?id=43944
     7
     8        The results have become out of sync after changeset 64552 and 65269.
     9
     10        Test: WebKitTools/Scripts/run-bindings-tests
     11
     12        * bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp:
     13        (webkit_dom_test_callback_callback_with_class1param):
     14        (webkit_dom_test_callback_callback_with_class2param):
     15        (webkit_dom_test_callback_callback_with_non_bool_return_type):
     16        * bindings/scripts/test/GObject/WebKitDOMTestCallback.h:
     17        * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
     18        (webkit_dom_test_obj_void_method_with_args):
     19        (webkit_dom_test_obj_int_method_with_args):
     20        (webkit_dom_test_obj_obj_method):
     21        (webkit_dom_test_obj_obj_method_with_args):
     22        (webkit_dom_test_obj_method_that_requires_all_args):
     23        (webkit_dom_test_obj_method_that_requires_all_args_and_throws):
     24        (webkit_dom_test_obj_serialized_value):
     25        (webkit_dom_test_obj_idb_key):
     26        (webkit_dom_test_obj_with_dynamic_frame_and_user_gesture):
     27        (webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad):
     28        (webkit_dom_test_obj_with_script_state_obj):
     29        (webkit_dom_test_obj_with_script_state_obj_exception):
     30        (webkit_dom_test_obj_get_read_only_string_attr):
     31        (webkit_dom_test_obj_get_read_only_test_obj_attr):
     32        (webkit_dom_test_obj_get_string_attr):
     33        (webkit_dom_test_obj_set_string_attr):
     34        (webkit_dom_test_obj_get_test_obj_attr):
     35        (webkit_dom_test_obj_set_test_obj_attr):
     36        (webkit_dom_test_obj_get_xml_obj_attr):
     37        (webkit_dom_test_obj_set_xml_obj_attr):
     38        (webkit_dom_test_obj_get_reflected_string_attr):
     39        (webkit_dom_test_obj_set_reflected_string_attr):
     40        (webkit_dom_test_obj_get_reflected_url_attr):
     41        (webkit_dom_test_obj_set_reflected_url_attr):
     42        (webkit_dom_test_obj_get_reflected_non_empty_url_attr):
     43        (webkit_dom_test_obj_set_reflected_non_empty_url_attr):
     44        (webkit_dom_test_obj_get_reflected_custom_url_attr):
     45        (webkit_dom_test_obj_set_reflected_custom_url_attr):
     46        (webkit_dom_test_obj_get_reflected_custom_non_empty_url_attr):
     47        (webkit_dom_test_obj_set_reflected_custom_non_empty_url_attr):
     48        (webkit_dom_test_obj_get_string_attr_with_getter_exception):
     49        (webkit_dom_test_obj_set_string_attr_with_getter_exception):
     50        (webkit_dom_test_obj_get_string_attr_with_setter_exception):
     51        (webkit_dom_test_obj_set_string_attr_with_setter_exception):
     52        (webkit_dom_test_obj_get_script_string_attr):
     53        (webkit_dom_test_obj_get_hash):
     54        (webkit_dom_test_obj_class_init):
     55        * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
     56        * bindings/scripts/test/JS/JSTestObj.cpp:
     57        (WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
     58
    1592010-08-13  Ariya Hidayat  <ariya@sencha.com>
    260
  • trunk/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.cpp

    r65021 r65333  
    5757
    5858gboolean
    59 webkit_dom_test_callback_callback_with_class1param(WebKitDOMTestCallback* self, WebKitDOMClass1*  class1param)
     59webkit_dom_test_callback_callback_with_class1param(WebKitDOMTestCallback* self, WebKitDOMClass1* class1param)
    6060{
    6161    WebCore::JSMainThreadNullState state;
     
    7070
    7171gboolean
    72 webkit_dom_test_callback_callback_with_class2param(WebKitDOMTestCallback* self, WebKitDOMClass2*  class2param, gchar* str_arg)
     72webkit_dom_test_callback_callback_with_class2param(WebKitDOMTestCallback* self, WebKitDOMClass2* class2param, const gchar* str_arg)
    7373{
    7474    WebCore::JSMainThreadNullState state;
     
    8585
    8686glong
    87 webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, WebKitDOMClass3*  class3param)
     87webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, WebKitDOMClass3* class3param)
    8888{
    8989    WebCore::JSMainThreadNullState state;
  • trunk/WebCore/bindings/scripts/test/GObject/WebKitDOMTestCallback.h

    r61133 r65333  
    4848
    4949WEBKIT_API gboolean
    50 webkit_dom_test_callback_callback_with_class1param(WebKitDOMTestCallback* self, WebKitDOMClass1*  class1param);
     50webkit_dom_test_callback_callback_with_class1param(WebKitDOMTestCallback* self, WebKitDOMClass1* class1param);
    5151
    5252WEBKIT_API gboolean
    53 webkit_dom_test_callback_callback_with_class2param(WebKitDOMTestCallback* self, WebKitDOMClass2*  class2param, gchar* str_arg);
     53webkit_dom_test_callback_callback_with_class2param(WebKitDOMTestCallback* self, WebKitDOMClass2* class2param, const gchar* str_arg);
    5454
    5555WEBKIT_API glong
    56 webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, WebKitDOMClass3*  class3param);
     56webkit_dom_test_callback_callback_with_non_bool_return_type(WebKitDOMTestCallback* self, WebKitDOMClass3* class3param);
    5757
    5858G_END_DECLS
  • trunk/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp

    r65021 r65333  
    6363
    6464void
    65 webkit_dom_test_obj_void_method_with_args(WebKitDOMTestObj* self, glong int_arg, gchar*  str_arg, WebKitDOMTestObj* obj_arg)
     65webkit_dom_test_obj_void_method_with_args(WebKitDOMTestObj* self, glong int_arg, const gchar* str_arg, WebKitDOMTestObj* obj_arg)
    6666{
    6767    WebCore::JSMainThreadNullState state;
     
    8787
    8888glong
    89 webkit_dom_test_obj_int_method_with_args(WebKitDOMTestObj* self, glong int_arg, gchar*  str_arg, WebKitDOMTestObj* obj_arg)
     89webkit_dom_test_obj_int_method_with_args(WebKitDOMTestObj* self, glong int_arg, const gchar* str_arg, WebKitDOMTestObj* obj_arg)
    9090{
    9191    WebCore::JSMainThreadNullState state;
     
    101101}
    102102
    103 WebKitDOMTestObj* 
     103WebKitDOMTestObj*
    104104webkit_dom_test_obj_obj_method(WebKitDOMTestObj* self)
    105105{
     
    108108    WebCore::TestObj * item = WebKit::core(self);
    109109    PassRefPtr<WebCore::TestObj> g_res = WTF::getPtr(item->objMethod());
    110     WebKitDOMTestObj*  res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get()));
    111     return res;
    112 }
    113 
    114 WebKitDOMTestObj* 
    115 webkit_dom_test_obj_obj_method_with_args(WebKitDOMTestObj* self, glong int_arg, gchar*  str_arg, WebKitDOMTestObj* obj_arg)
     110    WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj*>(WebKit::kit(g_res.get()));
     111    return res;
     112}
     113
     114WebKitDOMTestObj*
     115webkit_dom_test_obj_obj_method_with_args(WebKitDOMTestObj* self, glong int_arg, const gchar* str_arg, WebKitDOMTestObj* obj_arg)
    116116{
    117117    WebCore::JSMainThreadNullState state;
     
    124124    g_return_val_if_fail(converted_obj_arg, 0);
    125125    PassRefPtr<WebCore::TestObj> g_res = WTF::getPtr(item->objMethodWithArgs(int_arg, converted_str_arg, converted_obj_arg));
    126     WebKitDOMTestObj*  res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get()));
    127     return res;
    128 }
    129 
    130 WebKitDOMTestObj* 
    131 webkit_dom_test_obj_method_that_requires_all_args(WebKitDOMTestObj* self, gchar*  str_arg, WebKitDOMTestObj* obj_arg)
     126    WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj*>(WebKit::kit(g_res.get()));
     127    return res;
     128}
     129
     130WebKitDOMTestObj*
     131webkit_dom_test_obj_method_that_requires_all_args(WebKitDOMTestObj* self, const gchar* str_arg, WebKitDOMTestObj* obj_arg)
    132132{
    133133    WebCore::JSMainThreadNullState state;
     
    140140    g_return_val_if_fail(converted_obj_arg, 0);
    141141    PassRefPtr<WebCore::TestObj> g_res = WTF::getPtr(item->methodThatRequiresAllArgs(converted_str_arg, converted_obj_arg));
    142     WebKitDOMTestObj*  res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get()));
    143     return res;
    144 }
    145 
    146 WebKitDOMTestObj* 
    147 webkit_dom_test_obj_method_that_requires_all_args_and_throws(WebKitDOMTestObj* self, gchar*  str_arg, WebKitDOMTestObj* obj_arg, GError **error)
     142    WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj*>(WebKit::kit(g_res.get()));
     143    return res;
     144}
     145
     146WebKitDOMTestObj*
     147webkit_dom_test_obj_method_that_requires_all_args_and_throws(WebKitDOMTestObj* self, const gchar* str_arg, WebKitDOMTestObj* obj_arg, GError **error)
    148148{
    149149    WebCore::JSMainThreadNullState state;
     
    162162        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
    163163    }
    164     WebKitDOMTestObj*  res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get()));
    165     return res;
    166 }
    167 
    168 void
    169 webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, WebKitDOMSerializedScriptValue*  serialized_arg)
     164    WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj*>(WebKit::kit(g_res.get()));
     165    return res;
     166}
     167
     168void
     169webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, WebKitDOMSerializedScriptValue* serialized_arg)
    170170{
    171171    WebCore::JSMainThreadNullState state;
     
    179179
    180180void
    181 webkit_dom_test_obj_idb_key(WebKitDOMTestObj* self, WebKitDOMIDBKey*  key)
     181webkit_dom_test_obj_idb_key(WebKitDOMTestObj* self, WebKitDOMIDBKey* key)
    182182{
    183183    WebCore::JSMainThreadNullState state;
     
    239239
    240240void
    241 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture(WebKitDOMTestObj* self, glong int_arg)
    242 {
    243     WebCore::JSMainThreadNullState state;
    244     g_return_if_fail(self);
    245     WebCore::TestObj * item = WebKit::core(self);
    246     item->withDynamicFrameAndUserGesture(int_arg);
    247 }
    248 
    249 void
    250 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad(WebKitDOMTestObj* self, glong int_arg, glong optional_arg)
    251 {
    252     WebCore::JSMainThreadNullState state;
    253     g_return_if_fail(self);
    254     WebCore::TestObj * item = WebKit::core(self);
    255     item->withDynamicFrameAndUserGestureASAD(int_arg, optional_arg);
     241webkit_dom_test_obj_with_dynamic_frame_and_user_gesture(WebKitDOMTestObj* self, glong int_arg, gboolean isUserGesture)
     242{
     243    WebCore::JSMainThreadNullState state;
     244    g_return_if_fail(self);
     245    WebCore::TestObj * item = WebKit::core(self);
     246    item->withDynamicFrameAndUserGesture(int_arg, false);
     247}
     248
     249void
     250webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad(WebKitDOMTestObj* self, glong int_arg, glong optional_arg, gboolean isUserGesture)
     251{
     252    WebCore::JSMainThreadNullState state;
     253    g_return_if_fail(self);
     254    WebCore::TestObj * item = WebKit::core(self);
     255    item->withDynamicFrameAndUserGestureASAD(int_arg, optional_arg, false);
    256256}
    257257
     
    265265}
    266266
    267 WebKitDOMTestObj* 
     267WebKitDOMTestObj*
    268268webkit_dom_test_obj_with_script_state_obj(WebKitDOMTestObj* self)
    269269{
     
    272272    WebCore::TestObj * item = WebKit::core(self);
    273273    PassRefPtr<WebCore::TestObj> g_res = WTF::getPtr(item->withScriptStateObj());
    274     WebKitDOMTestObj*  res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get()));
     274    WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj*>(WebKit::kit(g_res.get()));
    275275    return res;
    276276}
     
    291291}
    292292
    293 WebKitDOMTestObj* 
     293WebKitDOMTestObj*
    294294webkit_dom_test_obj_with_script_state_obj_exception(WebKitDOMTestObj* self, GError **error)
    295295{
     
    304304        g_set_error_literal(error, g_quark_from_string("WEBKIT_DOM"), ecdesc.code, ecdesc.name);
    305305    }
    306     WebKitDOMTestObj*  res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get()));
     306    WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj*>(WebKit::kit(g_res.get()));
    307307    return res;
    308308}
     
    354354}
    355355
    356 gchar* 
     356gchar*
    357357webkit_dom_test_obj_get_read_only_string_attr(WebKitDOMTestObj* self)
    358358{
     
    360360    g_return_val_if_fail(self, 0);
    361361    WebCore::TestObj * item = WebKit::core(self);
    362     gchar*  res = convertToUTF8String(item->readOnlyStringAttr());
    363     return res;
    364 }
    365 
    366 WebKitDOMTestObj* 
     362    gchar* res = convertToUTF8String(item->readOnlyStringAttr());
     363    return res;
     364}
     365
     366WebKitDOMTestObj*
    367367webkit_dom_test_obj_get_read_only_test_obj_attr(WebKitDOMTestObj* self)
    368368{
     
    371371    WebCore::TestObj * item = WebKit::core(self);
    372372    PassRefPtr<WebCore::TestObj> g_res = WTF::getPtr(item->readOnlyTestObjAttr());
    373     WebKitDOMTestObj*  res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get()));
     373    WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj*>(WebKit::kit(g_res.get()));
    374374    return res;
    375375}
     
    432432}
    433433
    434 gchar* 
     434gchar*
    435435webkit_dom_test_obj_get_string_attr(WebKitDOMTestObj* self)
    436436{
     
    438438    g_return_val_if_fail(self, 0);
    439439    WebCore::TestObj * item = WebKit::core(self);
    440     gchar*  res = convertToUTF8String(item->stringAttr());
    441     return res;
    442 }
    443 
    444 void
    445 webkit_dom_test_obj_set_string_attr(WebKitDOMTestObj* self, gchar* value)
     440    gchar* res = convertToUTF8String(item->stringAttr());
     441    return res;
     442}
     443
     444void
     445webkit_dom_test_obj_set_string_attr(WebKitDOMTestObj* self, const gchar* value)
    446446{
    447447    WebCore::JSMainThreadNullState state;
     
    453453}
    454454
    455 WebKitDOMTestObj* 
     455WebKitDOMTestObj*
    456456webkit_dom_test_obj_get_test_obj_attr(WebKitDOMTestObj* self)
    457457{
     
    460460    WebCore::TestObj * item = WebKit::core(self);
    461461    PassRefPtr<WebCore::TestObj> g_res = WTF::getPtr(item->testObjAttr());
    462     WebKitDOMTestObj*  res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get()));
    463     return res;
    464 }
    465 
    466 void
    467 webkit_dom_test_obj_set_test_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj*  value)
     462    WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj*>(WebKit::kit(g_res.get()));
     463    return res;
     464}
     465
     466void
     467webkit_dom_test_obj_set_test_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value)
    468468{
    469469    WebCore::JSMainThreadNullState state;
     
    476476}
    477477
    478 WebKitDOMTestObj* 
     478WebKitDOMTestObj*
    479479webkit_dom_test_obj_get_xml_obj_attr(WebKitDOMTestObj* self)
    480480{
     
    483483    WebCore::TestObj * item = WebKit::core(self);
    484484    PassRefPtr<WebCore::TestObj> g_res = WTF::getPtr(item->xmlObjAttr());
    485     WebKitDOMTestObj*  res = static_cast<WebKitDOMTestObj* >(WebKit::kit(g_res.get()));
    486     return res;
    487 }
    488 
    489 void
    490 webkit_dom_test_obj_set_xml_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj*  value)
     485    WebKitDOMTestObj* res = static_cast<WebKitDOMTestObj*>(WebKit::kit(g_res.get()));
     486    return res;
     487}
     488
     489void
     490webkit_dom_test_obj_set_xml_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value)
    491491{
    492492    WebCore::JSMainThreadNullState state;
     
    518518}
    519519
    520 gchar* 
     520gchar*
    521521webkit_dom_test_obj_get_reflected_string_attr(WebKitDOMTestObj* self)
    522522{
     
    524524    g_return_val_if_fail(self, 0);
    525525    WebCore::TestObj * item = WebKit::core(self);
    526     gchar*  res = convertToUTF8String(item->getAttribute(WebCore::HTMLNames::reflectedstringattrAttr));
    527     return res;
    528 }
    529 
    530 void
    531 webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, gchar* value)
     526    gchar* res = convertToUTF8String(item->getAttribute(WebCore::HTMLNames::reflectedstringattrAttr));
     527    return res;
     528}
     529
     530void
     531webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, const gchar* value)
    532532{
    533533    WebCore::JSMainThreadNullState state;
     
    577577}
    578578
    579 gchar* 
     579gchar*
    580580webkit_dom_test_obj_get_reflected_url_attr(WebKitDOMTestObj* self)
    581581{
     
    583583    g_return_val_if_fail(self, 0);
    584584    WebCore::TestObj * item = WebKit::core(self);
    585     gchar*  res = convertToUTF8String(item->getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr));
    586     return res;
    587 }
    588 
    589 void
    590 webkit_dom_test_obj_set_reflected_url_attr(WebKitDOMTestObj* self, gchar* value)
     585    gchar* res = convertToUTF8String(item->getURLAttribute(WebCore::HTMLNames::reflectedurlattrAttr));
     586    return res;
     587}
     588
     589void
     590webkit_dom_test_obj_set_reflected_url_attr(WebKitDOMTestObj* self, const gchar* value)
    591591{
    592592    WebCore::JSMainThreadNullState state;
     
    598598}
    599599
    600 gchar* 
     600gchar*
    601601webkit_dom_test_obj_get_reflected_non_empty_url_attr(WebKitDOMTestObj* self)
    602602{
     
    604604    g_return_val_if_fail(self, 0);
    605605    WebCore::TestObj * item = WebKit::core(self);
    606     gchar*  res = convertToUTF8String(item->getNonEmptyURLAttribute(WebCore::HTMLNames::reflectednonemptyurlattrAttr));
    607     return res;
    608 }
    609 
    610 void
    611 webkit_dom_test_obj_set_reflected_non_empty_url_attr(WebKitDOMTestObj* self, gchar* value)
     606    gchar* res = convertToUTF8String(item->getNonEmptyURLAttribute(WebCore::HTMLNames::reflectednonemptyurlattrAttr));
     607    return res;
     608}
     609
     610void
     611webkit_dom_test_obj_set_reflected_non_empty_url_attr(WebKitDOMTestObj* self, const gchar* value)
    612612{
    613613    WebCore::JSMainThreadNullState state;
     
    619619}
    620620
    621 gchar* 
     621gchar*
    622622webkit_dom_test_obj_get_reflected_string_attr(WebKitDOMTestObj* self)
    623623{
     
    625625    g_return_val_if_fail(self, 0);
    626626    WebCore::TestObj * item = WebKit::core(self);
    627     gchar*  res = convertToUTF8String(item->getAttribute(WebCore::HTMLNames::customContentStringAttrAttr));
    628     return res;
    629 }
    630 
    631 void
    632 webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, gchar* value)
     627    gchar* res = convertToUTF8String(item->getAttribute(WebCore::HTMLNames::customContentStringAttrAttr));
     628    return res;
     629}
     630
     631void
     632webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, const gchar* value)
    633633{
    634634    WebCore::JSMainThreadNullState state;
     
    678678}
    679679
    680 gchar* 
     680gchar*
    681681webkit_dom_test_obj_get_reflected_custom_url_attr(WebKitDOMTestObj* self)
    682682{
     
    684684    g_return_val_if_fail(self, 0);
    685685    WebCore::TestObj * item = WebKit::core(self);
    686     gchar*  res = convertToUTF8String(item->getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr));
    687     return res;
    688 }
    689 
    690 void
    691 webkit_dom_test_obj_set_reflected_custom_url_attr(WebKitDOMTestObj* self, gchar* value)
     686    gchar* res = convertToUTF8String(item->getURLAttribute(WebCore::HTMLNames::customContentURLAttrAttr));
     687    return res;
     688}
     689
     690void
     691webkit_dom_test_obj_set_reflected_custom_url_attr(WebKitDOMTestObj* self, const gchar* value)
    692692{
    693693    WebCore::JSMainThreadNullState state;
     
    699699}
    700700
    701 gchar* 
     701gchar*
    702702webkit_dom_test_obj_get_reflected_custom_non_empty_url_attr(WebKitDOMTestObj* self)
    703703{
     
    705705    g_return_val_if_fail(self, 0);
    706706    WebCore::TestObj * item = WebKit::core(self);
    707     gchar*  res = convertToUTF8String(item->getNonEmptyURLAttribute(WebCore::HTMLNames::customContentNonEmptyURLAttrAttr));
    708     return res;
    709 }
    710 
    711 void
    712 webkit_dom_test_obj_set_reflected_custom_non_empty_url_attr(WebKitDOMTestObj* self, gchar* value)
     707    gchar* res = convertToUTF8String(item->getNonEmptyURLAttribute(WebCore::HTMLNames::customContentNonEmptyURLAttrAttr));
     708    return res;
     709}
     710
     711void
     712webkit_dom_test_obj_set_reflected_custom_non_empty_url_attr(WebKitDOMTestObj* self, const gchar* value)
    713713{
    714714    WebCore::JSMainThreadNullState state;
     
    776776}
    777777
    778 gchar* 
     778gchar*
    779779webkit_dom_test_obj_get_string_attr_with_getter_exception(WebKitDOMTestObj* self, GError **error)
    780780{
     
    783783    WebCore::TestObj * item = WebKit::core(self);
    784784    WebCore::ExceptionCode ec = 0;
    785     gchar*  res = convertToUTF8String(item->stringAttrWithGetterException(ec));
    786     return res;
    787 }
    788 
    789 void
    790 webkit_dom_test_obj_set_string_attr_with_getter_exception(WebKitDOMTestObj* self, gchar* value, GError **error)
     785    gchar* res = convertToUTF8String(item->stringAttrWithGetterException(ec));
     786    return res;
     787}
     788
     789void
     790webkit_dom_test_obj_set_string_attr_with_getter_exception(WebKitDOMTestObj* self, const gchar* value, GError **error)
    791791{
    792792    WebCore::JSMainThreadNullState state;
     
    804804}
    805805
    806 gchar* 
     806gchar*
    807807webkit_dom_test_obj_get_string_attr_with_setter_exception(WebKitDOMTestObj* self)
    808808{
     
    810810    g_return_val_if_fail(self, 0);
    811811    WebCore::TestObj * item = WebKit::core(self);
    812     gchar*  res = convertToUTF8String(item->stringAttrWithSetterException());
    813     return res;
    814 }
    815 
    816 void
    817 webkit_dom_test_obj_set_string_attr_with_setter_exception(WebKitDOMTestObj* self, gchar* value, GError **error)
     812    gchar* res = convertToUTF8String(item->stringAttrWithSetterException());
     813    return res;
     814}
     815
     816void
     817webkit_dom_test_obj_set_string_attr_with_setter_exception(WebKitDOMTestObj* self, const gchar* value, GError **error)
    818818{
    819819    WebCore::JSMainThreadNullState state;
     
    831831}
    832832
    833 gchar* 
     833gchar*
    834834webkit_dom_test_obj_get_script_string_attr(WebKitDOMTestObj* self)
    835835{
     
    837837    g_return_val_if_fail(self, 0);
    838838    WebCore::TestObj * item = WebKit::core(self);
    839     gchar*  res = convertToUTF8String(item->scriptStringAttr());
     839    gchar* res = convertToUTF8String(item->scriptStringAttr());
    840840    return res;
    841841}
     
    939939}
    940940
    941 gchar* 
     941gchar*
    942942webkit_dom_test_obj_get_hash(WebKitDOMTestObj* self)
    943943{
     
    945945    g_return_val_if_fail(self, 0);
    946946    WebCore::TestObj * item = WebKit::core(self);
    947     gchar*  res = convertToUTF8String(item->hash());
     947    gchar* res = convertToUTF8String(item->hash());
    948948    return res;
    949949}
     
    13641364                                    g_param_spec_string("read-only-string-attr", /* name */
    13651365                                                           "test_obj_read-only-string-attr", /* short description */
    1366                                                            "read-only  gchar*  TestObj.read-only-string-attr", /* longer - could do with some extra doc stuff here */
     1366                                                           "read-only  gchar* TestObj.read-only-string-attr", /* longer - could do with some extra doc stuff here */
    13671367                                                           "", /* default */
    13681368                                                           WEBKIT_PARAM_READABLE));
     
    13711371                                    g_param_spec_object("read-only-test-obj-attr", /* name */
    13721372                                                           "test_obj_read-only-test-obj-attr", /* short description */
    1373                                                            "read-only  WebKitDOMTestObj*  TestObj.read-only-test-obj-attr", /* longer - could do with some extra doc stuff here */
     1373                                                           "read-only  WebKitDOMTestObj* TestObj.read-only-test-obj-attr", /* longer - could do with some extra doc stuff here */
    13741374                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
    13751375                                                           WEBKIT_PARAM_READABLE));
     
    14051405                                    g_param_spec_string("string-attr", /* name */
    14061406                                                           "test_obj_string-attr", /* short description */
    1407                                                            "read-write  gchar*  TestObj.string-attr", /* longer - could do with some extra doc stuff here */
     1407                                                           "read-write  gchar* TestObj.string-attr", /* longer - could do with some extra doc stuff here */
    14081408                                                           "", /* default */
    14091409                                                           WEBKIT_PARAM_READWRITE));
     
    14121412                                    g_param_spec_object("test-obj-attr", /* name */
    14131413                                                           "test_obj_test-obj-attr", /* short description */
    1414                                                            "read-write  WebKitDOMTestObj*  TestObj.test-obj-attr", /* longer - could do with some extra doc stuff here */
     1414                                                           "read-write  WebKitDOMTestObj* TestObj.test-obj-attr", /* longer - could do with some extra doc stuff here */
    14151415                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
    14161416                                                           WEBKIT_PARAM_READWRITE));
     
    14191419                                    g_param_spec_object("xml-obj-attr", /* name */
    14201420                                                           "test_obj_xml-obj-attr", /* short description */
    1421                                                            "read-write  WebKitDOMTestObj*  TestObj.xml-obj-attr", /* longer - could do with some extra doc stuff here */
     1421                                                           "read-write  WebKitDOMTestObj* TestObj.xml-obj-attr", /* longer - could do with some extra doc stuff here */
    14221422                                                           WEBKIT_TYPE_DOM_TEST_OBJ, /* gobject type */
    14231423                                                           WEBKIT_PARAM_READWRITE));
     
    14331433                                    g_param_spec_string("reflected-string-attr", /* name */
    14341434                                                           "test_obj_reflected-string-attr", /* short description */
    1435                                                            "read-write  gchar*  TestObj.reflected-string-attr", /* longer - could do with some extra doc stuff here */
     1435                                                           "read-write  gchar* TestObj.reflected-string-attr", /* longer - could do with some extra doc stuff here */
    14361436                                                           "", /* default */
    14371437                                                           WEBKIT_PARAM_READWRITE));
     
    14561456                                    g_param_spec_string("reflected-url-attr", /* name */
    14571457                                                           "test_obj_reflected-url-attr", /* short description */
    1458                                                            "read-write  gchar*  TestObj.reflected-url-attr", /* longer - could do with some extra doc stuff here */
     1458                                                           "read-write  gchar* TestObj.reflected-url-attr", /* longer - could do with some extra doc stuff here */
    14591459                                                           "", /* default */
    14601460                                                           WEBKIT_PARAM_READWRITE));
     
    14631463                                    g_param_spec_string("reflected-non-empty-url-attr", /* name */
    14641464                                                           "test_obj_reflected-non-empty-url-attr", /* short description */
    1465                                                            "read-write  gchar*  TestObj.reflected-non-empty-url-attr", /* longer - could do with some extra doc stuff here */
     1465                                                           "read-write  gchar* TestObj.reflected-non-empty-url-attr", /* longer - could do with some extra doc stuff here */
    14661466                                                           "", /* default */
    14671467                                                           WEBKIT_PARAM_READWRITE));
     
    14701470                                    g_param_spec_string("reflected-string-attr", /* name */
    14711471                                                           "test_obj_reflected-string-attr", /* short description */
    1472                                                            "read-write  gchar*  TestObj.reflected-string-attr", /* longer - could do with some extra doc stuff here */
     1472                                                           "read-write  gchar* TestObj.reflected-string-attr", /* longer - could do with some extra doc stuff here */
    14731473                                                           "", /* default */
    14741474                                                           WEBKIT_PARAM_READWRITE));
     
    14931493                                    g_param_spec_string("reflected-custom-url-attr", /* name */
    14941494                                                           "test_obj_reflected-custom-url-attr", /* short description */
    1495                                                            "read-write  gchar*  TestObj.reflected-custom-url-attr", /* longer - could do with some extra doc stuff here */
     1495                                                           "read-write  gchar* TestObj.reflected-custom-url-attr", /* longer - could do with some extra doc stuff here */
    14961496                                                           "", /* default */
    14971497                                                           WEBKIT_PARAM_READWRITE));
     
    15001500                                    g_param_spec_string("reflected-custom-non-empty-url-attr", /* name */
    15011501                                                           "test_obj_reflected-custom-non-empty-url-attr", /* short description */
    1502                                                            "read-write  gchar*  TestObj.reflected-custom-non-empty-url-attr", /* longer - could do with some extra doc stuff here */
     1502                                                           "read-write  gchar* TestObj.reflected-custom-non-empty-url-attr", /* longer - could do with some extra doc stuff here */
    15031503                                                           "", /* default */
    15041504                                                           WEBKIT_PARAM_READWRITE));
     
    15251525                                    g_param_spec_string("string-attr-with-getter-exception", /* name */
    15261526                                                           "test_obj_string-attr-with-getter-exception", /* short description */
    1527                                                            "read-write  gchar*  TestObj.string-attr-with-getter-exception", /* longer - could do with some extra doc stuff here */
     1527                                                           "read-write  gchar* TestObj.string-attr-with-getter-exception", /* longer - could do with some extra doc stuff here */
    15281528                                                           "", /* default */
    15291529                                                           WEBKIT_PARAM_READWRITE));
     
    15321532                                    g_param_spec_string("string-attr-with-setter-exception", /* name */
    15331533                                                           "test_obj_string-attr-with-setter-exception", /* short description */
    1534                                                            "read-write  gchar*  TestObj.string-attr-with-setter-exception", /* longer - could do with some extra doc stuff here */
     1534                                                           "read-write  gchar* TestObj.string-attr-with-setter-exception", /* longer - could do with some extra doc stuff here */
    15351535                                                           "", /* default */
    15361536                                                           WEBKIT_PARAM_READWRITE));
     
    15391539                                    g_param_spec_string("script-string-attr", /* name */
    15401540                                                           "test_obj_script-string-attr", /* short description */
    1541                                                            "read-only  gchar*  TestObj.script-string-attr", /* longer - could do with some extra doc stuff here */
     1541                                                           "read-only  gchar* TestObj.script-string-attr", /* longer - could do with some extra doc stuff here */
    15421542                                                           "", /* default */
    15431543                                                           WEBKIT_PARAM_READABLE));
     
    15971597                                    g_param_spec_string("hash", /* name */
    15981598                                                           "test_obj_hash", /* short description */
    1599                                                            "read-only  gchar*  TestObj.hash", /* longer - could do with some extra doc stuff here */
     1599                                                           "read-only  gchar* TestObj.hash", /* longer - could do with some extra doc stuff here */
    16001600                                                           "", /* default */
    16011601                                                           WEBKIT_PARAM_READABLE));
  • trunk/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h

    r64415 r65333  
    5151
    5252WEBKIT_API void
    53 webkit_dom_test_obj_void_method_with_args(WebKitDOMTestObj* self, glong int_arg, gchar*  str_arg, WebKitDOMTestObj* obj_arg);
     53webkit_dom_test_obj_void_method_with_args(WebKitDOMTestObj* self, glong int_arg, const gchar* str_arg, WebKitDOMTestObj* obj_arg);
    5454
    5555WEBKIT_API glong
     
    5757
    5858WEBKIT_API glong
    59 webkit_dom_test_obj_int_method_with_args(WebKitDOMTestObj* self, glong int_arg, gchar*  str_arg, WebKitDOMTestObj* obj_arg);
    60 
    61 WEBKIT_API WebKitDOMTestObj* 
     59webkit_dom_test_obj_int_method_with_args(WebKitDOMTestObj* self, glong int_arg, const gchar* str_arg, WebKitDOMTestObj* obj_arg);
     60
     61WEBKIT_API WebKitDOMTestObj*
    6262webkit_dom_test_obj_obj_method(WebKitDOMTestObj* self);
    6363
    64 WEBKIT_API WebKitDOMTestObj* 
    65 webkit_dom_test_obj_obj_method_with_args(WebKitDOMTestObj* self, glong int_arg, gchar*  str_arg, WebKitDOMTestObj* obj_arg);
    66 
    67 WEBKIT_API WebKitDOMTestObj* 
    68 webkit_dom_test_obj_method_that_requires_all_args(WebKitDOMTestObj* self, gchar*  str_arg, WebKitDOMTestObj* obj_arg);
    69 
    70 WEBKIT_API WebKitDOMTestObj* 
    71 webkit_dom_test_obj_method_that_requires_all_args_and_throws(WebKitDOMTestObj* self, gchar*  str_arg, WebKitDOMTestObj* obj_arg, GError **error);
    72 
    73 WEBKIT_API void
    74 webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, WebKitDOMSerializedScriptValue*  serialized_arg);
    75 
    76 WEBKIT_API void
    77 webkit_dom_test_obj_idb_key(WebKitDOMTestObj* self, WebKitDOMIDBKey*  key);
     64WEBKIT_API WebKitDOMTestObj*
     65webkit_dom_test_obj_obj_method_with_args(WebKitDOMTestObj* self, glong int_arg, const gchar* str_arg, WebKitDOMTestObj* obj_arg);
     66
     67WEBKIT_API WebKitDOMTestObj*
     68webkit_dom_test_obj_method_that_requires_all_args(WebKitDOMTestObj* self, const gchar* str_arg, WebKitDOMTestObj* obj_arg);
     69
     70WEBKIT_API WebKitDOMTestObj*
     71webkit_dom_test_obj_method_that_requires_all_args_and_throws(WebKitDOMTestObj* self, const gchar* str_arg, WebKitDOMTestObj* obj_arg, GError **error);
     72
     73WEBKIT_API void
     74webkit_dom_test_obj_serialized_value(WebKitDOMTestObj* self, WebKitDOMSerializedScriptValue* serialized_arg);
     75
     76WEBKIT_API void
     77webkit_dom_test_obj_idb_key(WebKitDOMTestObj* self, WebKitDOMIDBKey* key);
    7878
    7979WEBKIT_API void
     
    9696
    9797WEBKIT_API void
    98 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture(WebKitDOMTestObj* self, glong int_arg);
    99 
    100 WEBKIT_API void
    101 webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad(WebKitDOMTestObj* self, glong int_arg, glong optional_arg);
     98webkit_dom_test_obj_with_dynamic_frame_and_user_gesture(WebKitDOMTestObj* self, glong int_arg, gboolean isUserGesture);
     99
     100WEBKIT_API void
     101webkit_dom_test_obj_with_dynamic_frame_and_user_gesture_asad(WebKitDOMTestObj* self, glong int_arg, glong optional_arg, gboolean isUserGesture);
    102102
    103103WEBKIT_API void
    104104webkit_dom_test_obj_with_script_state_void(WebKitDOMTestObj* self);
    105105
    106 WEBKIT_API WebKitDOMTestObj* 
     106WEBKIT_API WebKitDOMTestObj*
    107107webkit_dom_test_obj_with_script_state_obj(WebKitDOMTestObj* self);
    108108
     
    110110webkit_dom_test_obj_with_script_state_void_exception(WebKitDOMTestObj* self, GError **error);
    111111
    112 WEBKIT_API WebKitDOMTestObj* 
     112WEBKIT_API WebKitDOMTestObj*
    113113webkit_dom_test_obj_with_script_state_obj_exception(WebKitDOMTestObj* self, GError **error);
    114114
     
    128128webkit_dom_test_obj_get_read_only_int_attr(WebKitDOMTestObj* self);
    129129
    130 WEBKIT_API gchar* 
     130WEBKIT_API gchar*
    131131webkit_dom_test_obj_get_read_only_string_attr(WebKitDOMTestObj* self);
    132132
    133 WEBKIT_API WebKitDOMTestObj* 
     133WEBKIT_API WebKitDOMTestObj*
    134134webkit_dom_test_obj_get_read_only_test_obj_attr(WebKitDOMTestObj* self);
    135135
     
    152152webkit_dom_test_obj_set_unsigned_long_long_attr(WebKitDOMTestObj* self, guint64 value);
    153153
    154 WEBKIT_API gchar* 
     154WEBKIT_API gchar*
    155155webkit_dom_test_obj_get_string_attr(WebKitDOMTestObj* self);
    156156
    157157WEBKIT_API void
    158 webkit_dom_test_obj_set_string_attr(WebKitDOMTestObj* self, gchar* value);
    159 
    160 WEBKIT_API WebKitDOMTestObj* 
     158webkit_dom_test_obj_set_string_attr(WebKitDOMTestObj* self, const gchar* value);
     159
     160WEBKIT_API WebKitDOMTestObj*
    161161webkit_dom_test_obj_get_test_obj_attr(WebKitDOMTestObj* self);
    162162
    163163WEBKIT_API void
    164 webkit_dom_test_obj_set_test_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj*  value);
    165 
    166 WEBKIT_API WebKitDOMTestObj* 
     164webkit_dom_test_obj_set_test_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
     165
     166WEBKIT_API WebKitDOMTestObj*
    167167webkit_dom_test_obj_get_xml_obj_attr(WebKitDOMTestObj* self);
    168168
    169169WEBKIT_API void
    170 webkit_dom_test_obj_set_xml_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj*  value);
     170webkit_dom_test_obj_set_xml_obj_attr(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
    171171
    172172WEBKIT_API gboolean
     
    176176webkit_dom_test_obj_set_create(WebKitDOMTestObj* self, gboolean value);
    177177
    178 WEBKIT_API gchar* 
     178WEBKIT_API gchar*
    179179webkit_dom_test_obj_get_reflected_string_attr(WebKitDOMTestObj* self);
    180180
    181181WEBKIT_API void
    182 webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, gchar* value);
     182webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, const gchar* value);
    183183
    184184WEBKIT_API glong
     
    194194webkit_dom_test_obj_set_reflected_boolean_attr(WebKitDOMTestObj* self, gboolean value);
    195195
    196 WEBKIT_API gchar* 
     196WEBKIT_API gchar*
    197197webkit_dom_test_obj_get_reflected_url_attr(WebKitDOMTestObj* self);
    198198
    199199WEBKIT_API void
    200 webkit_dom_test_obj_set_reflected_url_attr(WebKitDOMTestObj* self, gchar* value);
    201 
    202 WEBKIT_API gchar* 
     200webkit_dom_test_obj_set_reflected_url_attr(WebKitDOMTestObj* self, const gchar* value);
     201
     202WEBKIT_API gchar*
    203203webkit_dom_test_obj_get_reflected_non_empty_url_attr(WebKitDOMTestObj* self);
    204204
    205205WEBKIT_API void
    206 webkit_dom_test_obj_set_reflected_non_empty_url_attr(WebKitDOMTestObj* self, gchar* value);
    207 
    208 WEBKIT_API gchar* 
     206webkit_dom_test_obj_set_reflected_non_empty_url_attr(WebKitDOMTestObj* self, const gchar* value);
     207
     208WEBKIT_API gchar*
    209209webkit_dom_test_obj_get_reflected_string_attr(WebKitDOMTestObj* self);
    210210
    211211WEBKIT_API void
    212 webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, gchar* value);
     212webkit_dom_test_obj_set_reflected_string_attr(WebKitDOMTestObj* self, const gchar* value);
    213213
    214214WEBKIT_API glong
     
    224224webkit_dom_test_obj_set_reflected_custom_boolean_attr(WebKitDOMTestObj* self, gboolean value);
    225225
    226 WEBKIT_API gchar* 
     226WEBKIT_API gchar*
    227227webkit_dom_test_obj_get_reflected_custom_url_attr(WebKitDOMTestObj* self);
    228228
    229229WEBKIT_API void
    230 webkit_dom_test_obj_set_reflected_custom_url_attr(WebKitDOMTestObj* self, gchar* value);
    231 
    232 WEBKIT_API gchar* 
     230webkit_dom_test_obj_set_reflected_custom_url_attr(WebKitDOMTestObj* self, const gchar* value);
     231
     232WEBKIT_API gchar*
    233233webkit_dom_test_obj_get_reflected_custom_non_empty_url_attr(WebKitDOMTestObj* self);
    234234
    235235WEBKIT_API void
    236 webkit_dom_test_obj_set_reflected_custom_non_empty_url_attr(WebKitDOMTestObj* self, gchar* value);
     236webkit_dom_test_obj_set_reflected_custom_non_empty_url_attr(WebKitDOMTestObj* self, const gchar* value);
    237237
    238238WEBKIT_API glong
     
    248248webkit_dom_test_obj_set_attr_with_setter_exception(WebKitDOMTestObj* self, glong value, GError **error);
    249249
    250 WEBKIT_API gchar* 
     250WEBKIT_API gchar*
    251251webkit_dom_test_obj_get_string_attr_with_getter_exception(WebKitDOMTestObj* self, GError **error);
    252252
    253253WEBKIT_API void
    254 webkit_dom_test_obj_set_string_attr_with_getter_exception(WebKitDOMTestObj* self, gchar* value, GError **error);
    255 
    256 WEBKIT_API gchar* 
     254webkit_dom_test_obj_set_string_attr_with_getter_exception(WebKitDOMTestObj* self, const gchar* value, GError **error);
     255
     256WEBKIT_API gchar*
    257257webkit_dom_test_obj_get_string_attr_with_setter_exception(WebKitDOMTestObj* self);
    258258
    259259WEBKIT_API void
    260 webkit_dom_test_obj_set_string_attr_with_setter_exception(WebKitDOMTestObj* self, gchar* value, GError **error);
    261 
    262 WEBKIT_API gchar* 
     260webkit_dom_test_obj_set_string_attr_with_setter_exception(WebKitDOMTestObj* self, const gchar* value, GError **error);
     261
     262WEBKIT_API gchar*
    263263webkit_dom_test_obj_get_script_string_attr(WebKitDOMTestObj* self);
    264264
     
    302302webkit_dom_test_obj_set_id(WebKitDOMTestObj* self, glong value);
    303303
    304 WEBKIT_API gchar* 
     304WEBKIT_API gchar*
    305305webkit_dom_test_obj_get_hash(WebKitDOMTestObj* self);
    306306
  • trunk/WebCore/bindings/scripts/test/JS/JSTestObj.cpp

    r65082 r65333  
    14181418EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionOverloadedMethod(ExecState* exec)
    14191419{
    1420     if ((exec->argumentCount() == 2 && (exec->argument(0).isNull() || exec->argument(0).isObject() && asObject(exec->argument(0))->inherits(&JSTestObj::s_info)) && (exec->argument(1).isNull() || exec->argument(1).isUndefined() || exec->argument(1).isString() || exec->argument(1).isObject())))
     1420    if ((exec->argumentCount() == 2 && (exec->argument(0).isNull() || (exec->argument(0).isObject() && asObject(exec->argument(0))->inherits(&JSTestObj::s_info))) && (exec->argument(1).isNull() || exec->argument(1).isUndefined() || exec->argument(1).isString() || exec->argument(1).isObject())))
    14211421        return jsTestObjPrototypeFunctionOverloadedMethod1(exec);
    1422     if ((exec->argumentCount() == 1 && (exec->argument(0).isNull() || exec->argument(0).isObject() && asObject(exec->argument(0))->inherits(&JSTestObj::s_info))) || (exec->argumentCount() == 2 && (exec->argument(0).isNull() || exec->argument(0).isObject() && asObject(exec->argument(0))->inherits(&JSTestObj::s_info))))
     1422    if ((exec->argumentCount() == 1 && (exec->argument(0).isNull() || (exec->argument(0).isObject() && asObject(exec->argument(0))->inherits(&JSTestObj::s_info)))) || (exec->argumentCount() == 2 && (exec->argument(0).isNull() || (exec->argument(0).isObject() && asObject(exec->argument(0))->inherits(&JSTestObj::s_info)))))
    14231423        return jsTestObjPrototypeFunctionOverloadedMethod2(exec);
    14241424    if ((exec->argumentCount() == 1 && (exec->argument(0).isNull() || exec->argument(0).isUndefined() || exec->argument(0).isString() || exec->argument(0).isObject())))
Note: See TracChangeset for help on using the changeset viewer.