<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[203951] trunk/Source/WebCore</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/203951">203951</a></dd>
<dt>Author</dt> <dd>cdumez@apple.com</dd>
<dt>Date</dt> <dd>2016-07-30 17:46:03 -0700 (Sat, 30 Jul 2016)</dd>
</dl>
<h3>Log Message</h3>
<pre>Unreviewed, rebaseline bindings tests.
* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
(webkit_dom_test_obj_set_property): Deleted.
(webkit_dom_test_obj_get_property): Deleted.
(webkit_dom_test_obj_class_init): Deleted.
* bindings/scripts/test/GObject/WebKitDOMTestObj.h:
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore::jsTestObjStrictTypeCheckingAttribute): Deleted.
(WebCore::jsTestObjStrictFloat): Deleted.
(WebCore::setJSTestObjStrictTypeCheckingAttribute): Deleted.
(WebCore::setJSTestObjStrictFloat): Deleted.
* bindings/scripts/test/ObjC/DOMTestObj.h:
* bindings/scripts/test/ObjC/DOMTestObj.mm:
(-[DOMTestObj strictTypeCheckingAttribute]): Deleted.
(-[DOMTestObj setStrictTypeCheckingAttribute:]): Deleted.
(-[DOMTestObj strictFloat]): Deleted.
(-[DOMTestObj setStrictFloat:]): Deleted.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestObjcpp">trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestObjh">trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp">trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestObjCDOMTestObjh">trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.h</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptstestObjCDOMTestObjmm">trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (203950 => 203951)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-07-31 00:29:19 UTC (rev 203950)
+++ trunk/Source/WebCore/ChangeLog        2016-07-31 00:46:03 UTC (rev 203951)
</span><span class="lines">@@ -1,5 +1,26 @@
</span><span class="cx"> 2016-07-30 Chris Dumez <cdumez@apple.com>
</span><span class="cx">
</span><ins>+ Unreviewed, rebaseline bindings tests.
+
+ * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
+ (webkit_dom_test_obj_set_property): Deleted.
+ (webkit_dom_test_obj_get_property): Deleted.
+ (webkit_dom_test_obj_class_init): Deleted.
+ * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore::jsTestObjStrictTypeCheckingAttribute): Deleted.
+ (WebCore::jsTestObjStrictFloat): Deleted.
+ (WebCore::setJSTestObjStrictTypeCheckingAttribute): Deleted.
+ (WebCore::setJSTestObjStrictFloat): Deleted.
+ * bindings/scripts/test/ObjC/DOMTestObj.h:
+ * bindings/scripts/test/ObjC/DOMTestObj.mm:
+ (-[DOMTestObj strictTypeCheckingAttribute]): Deleted.
+ (-[DOMTestObj setStrictTypeCheckingAttribute:]): Deleted.
+ (-[DOMTestObj strictFloat]): Deleted.
+ (-[DOMTestObj setStrictFloat:]): Deleted.
+
+2016-07-30 Chris Dumez <cdumez@apple.com>
+
</ins><span class="cx"> Enable strict type checking for Window dictionary members
</span><span class="cx"> https://bugs.webkit.org/show_bug.cgi?id=160356
</span><span class="cx">
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestObjcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp (203950 => 203951)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp        2016-07-31 00:29:19 UTC (rev 203950)
+++ trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp        2016-07-31 00:46:03 UTC (rev 203951)
</span><span class="lines">@@ -115,7 +115,6 @@
</span><span class="cx"> PROP_ATTR_WITH_SETTER_EXCEPTION_WITH_MESSAGE,
</span><span class="cx"> PROP_STRING_ATTR_WITH_GETTER_EXCEPTION,
</span><span class="cx"> PROP_STRING_ATTR_WITH_SETTER_EXCEPTION,
</span><del>- PROP_STRICT_TYPE_CHECKING_ATTRIBUTE,
</del><span class="cx"> PROP_WITH_SCRIPT_STATE_ATTRIBUTE,
</span><span class="cx"> PROP_WITH_CALL_WITH_AND_SETTER_CALL_WITH_ATTRIBUTE,
</span><span class="cx"> PROP_WITH_SCRIPT_EXECUTION_CONTEXT_ATTRIBUTE,
</span><span class="lines">@@ -133,7 +132,6 @@
</span><span class="cx"> PROP_MUTABLE_POINT,
</span><span class="cx"> PROP_IMMUTABLE_POINT,
</span><span class="cx"> PROP_STRAWBERRY,
</span><del>- PROP_STRICT_FLOAT,
</del><span class="cx"> PROP_DESCRIPTION,
</span><span class="cx"> PROP_ID,
</span><span class="cx"> PROP_HASH,
</span><span class="lines">@@ -261,9 +259,6 @@
</span><span class="cx"> case PROP_STRAWBERRY:
</span><span class="cx"> webkit_dom_test_obj_set_strawberry(self, g_value_get_long(value));
</span><span class="cx"> break;
</span><del>- case PROP_STRICT_FLOAT:
- webkit_dom_test_obj_set_strict_float(self, g_value_get_float(value));
- break;
</del><span class="cx"> case PROP_ID:
</span><span class="cx"> webkit_dom_test_obj_set_id(self, g_value_get_long(value));
</span><span class="cx"> break;
</span><span class="lines">@@ -395,9 +390,6 @@
</span><span class="cx"> case PROP_STRING_ATTR_WITH_SETTER_EXCEPTION:
</span><span class="cx"> g_value_take_string(value, webkit_dom_test_obj_get_string_attr_with_setter_exception(self));
</span><span class="cx"> break;
</span><del>- case PROP_STRICT_TYPE_CHECKING_ATTRIBUTE:
- g_value_set_object(value, webkit_dom_test_obj_get_strict_type_checking_attribute(self));
- break;
</del><span class="cx"> case PROP_WITH_SCRIPT_STATE_ATTRIBUTE:
</span><span class="cx"> g_value_set_long(value, webkit_dom_test_obj_get_with_script_state_attribute(self));
</span><span class="cx"> break;
</span><span class="lines">@@ -449,9 +441,6 @@
</span><span class="cx"> case PROP_STRAWBERRY:
</span><span class="cx"> g_value_set_long(value, webkit_dom_test_obj_get_strawberry(self));
</span><span class="cx"> break;
</span><del>- case PROP_STRICT_FLOAT:
- g_value_set_float(value, webkit_dom_test_obj_get_strict_float(self));
- break;
</del><span class="cx"> case PROP_DESCRIPTION:
</span><span class="cx"> g_value_set_long(value, webkit_dom_test_obj_get_description(self));
</span><span class="cx"> break;
</span><span class="lines">@@ -882,16 +871,6 @@
</span><span class="cx">
</span><span class="cx"> g_object_class_install_property(
</span><span class="cx"> gobjectClass,
</span><del>- PROP_STRICT_TYPE_CHECKING_ATTRIBUTE,
- g_param_spec_object(
- "strict-type-checking-attribute",
- "TestObj:strict-type-checking-attribute",
- "read-only WebKitDOMTestObj* TestObj:strict-type-checking-attribute",
- WEBKIT_DOM_TYPE_TEST_OBJ,
- WEBKIT_PARAM_READABLE));
-
- g_object_class_install_property(
- gobjectClass,
</del><span class="cx"> PROP_WITH_SCRIPT_STATE_ATTRIBUTE,
</span><span class="cx"> g_param_spec_long(
</span><span class="cx"> "with-script-state-attribute",
</span><span class="lines">@@ -1062,16 +1041,6 @@
</span><span class="cx">
</span><span class="cx"> g_object_class_install_property(
</span><span class="cx"> gobjectClass,
</span><del>- PROP_STRICT_FLOAT,
- g_param_spec_float(
- "strict-float",
- "TestObj:strict-float",
- "read-write gfloat TestObj:strict-float",
- -G_MAXFLOAT, G_MAXFLOAT, 0,
- WEBKIT_PARAM_READWRITE));
-
- g_object_class_install_property(
- gobjectClass,
</del><span class="cx"> PROP_DESCRIPTION,
</span><span class="cx"> g_param_spec_long(
</span><span class="cx"> "description",
</span><span class="lines">@@ -2722,25 +2691,6 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><del>-WebKitDOMTestObj* webkit_dom_test_obj_get_strict_type_checking_attribute(WebKitDOMTestObj* self)
-{
- WebCore::JSMainThreadNullState state;
- g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
- WebCore::TestObj* item = WebKit::core(self);
- RefPtr<WebCore::TestObj> gobjectResult = WTF::getPtr(item->strictTypeCheckingAttribute());
- return WebKit::kit(gobjectResult.get());
-}
-
-void webkit_dom_test_obj_set_strict_type_checking_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value)
-{
- WebCore::JSMainThreadNullState state;
- g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
- g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(value));
- WebCore::TestObj* item = WebKit::core(self);
- WebCore::TestObj* convertedValue = WebKit::core(value);
- item->setStrictTypeCheckingAttribute(convertedValue);
-}
-
</del><span class="cx"> glong webkit_dom_test_obj_get_with_script_state_attribute(WebKitDOMTestObj* self)
</span><span class="cx"> {
</span><span class="cx"> WebCore::JSMainThreadNullState state;
</span><span class="lines">@@ -3013,23 +2963,6 @@
</span><span class="cx"> item->setBlueberry(value);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-gfloat webkit_dom_test_obj_get_strict_float(WebKitDOMTestObj* self)
-{
- WebCore::JSMainThreadNullState state;
- g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
- WebCore::TestObj* item = WebKit::core(self);
- gfloat result = item->strictFloat();
- return result;
-}
-
-void webkit_dom_test_obj_set_strict_float(WebKitDOMTestObj* self, gfloat value)
-{
- WebCore::JSMainThreadNullState state;
- g_return_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self));
- WebCore::TestObj* item = WebKit::core(self);
- item->setStrictFloat(value);
-}
-
</del><span class="cx"> glong webkit_dom_test_obj_get_description(WebKitDOMTestObj* self)
</span><span class="cx"> {
</span><span class="cx"> WebCore::JSMainThreadNullState state;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestObjh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h (203950 => 203951)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h        2016-07-31 00:29:19 UTC (rev 203950)
+++ trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h        2016-07-31 00:46:03 UTC (rev 203951)
</span><span class="lines">@@ -1704,27 +1704,6 @@
</span><span class="cx"> webkit_dom_test_obj_set_string_attr_with_setter_exception(WebKitDOMTestObj* self, const gchar* value, GError** error);
</span><span class="cx">
</span><span class="cx"> /**
</span><del>- * webkit_dom_test_obj_get_strict_type_checking_attribute:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none): A #WebKitDOMTestObj
- *
- * Stability: Unstable
-**/
-WEBKIT_API WebKitDOMTestObj*
-webkit_dom_test_obj_get_strict_type_checking_attribute(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_strict_type_checking_attribute:
- * @self: A #WebKitDOMTestObj
- * @value: A #WebKitDOMTestObj
- *
- * Stability: Unstable
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_strict_type_checking_attribute(WebKitDOMTestObj* self, WebKitDOMTestObj* value);
-
-/**
</del><span class="cx"> * webkit_dom_test_obj_get_with_script_state_attribute:
</span><span class="cx"> * @self: A #WebKitDOMTestObj
</span><span class="cx"> *
</span><span class="lines">@@ -1974,27 +1953,6 @@
</span><span class="cx"> webkit_dom_test_obj_set_strawberry(WebKitDOMTestObj* self, glong value);
</span><span class="cx">
</span><span class="cx"> /**
</span><del>- * webkit_dom_test_obj_get_strict_float:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: A #gfloat
- *
- * Stability: Unstable
-**/
-WEBKIT_API gfloat
-webkit_dom_test_obj_get_strict_float(WebKitDOMTestObj* self);
-
-/**
- * webkit_dom_test_obj_set_strict_float:
- * @self: A #WebKitDOMTestObj
- * @value: A #gfloat
- *
- * Stability: Unstable
-**/
-WEBKIT_API void
-webkit_dom_test_obj_set_strict_float(WebKitDOMTestObj* self, gfloat value);
-
-/**
</del><span class="cx"> * webkit_dom_test_obj_get_description:
</span><span class="cx"> * @self: A #WebKitDOMTestObj
</span><span class="cx"> *
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestJSJSTestObjcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp (203950 => 203951)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2016-07-31 00:29:19 UTC (rev 203950)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2016-07-31 00:46:03 UTC (rev 203951)
</span><span class="lines">@@ -790,8 +790,6 @@
</span><span class="cx"> bool setJSTestObjStringAttrWithGetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
</span><span class="cx"> JSC::EncodedJSValue jsTestObjStringAttrWithSetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
</span><span class="cx"> bool setJSTestObjStringAttrWithSetterException(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
</span><del>-JSC::EncodedJSValue jsTestObjStrictTypeCheckingAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
-bool setJSTestObjStrictTypeCheckingAttribute(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
</del><span class="cx"> JSC::EncodedJSValue jsTestObjCustomAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
</span><span class="cx"> bool setJSTestObjCustomAttr(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
</span><span class="cx"> JSC::EncodedJSValue jsTestObjOnfoo(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
</span><span class="lines">@@ -851,8 +849,6 @@
</span><span class="cx"> bool setJSTestObjImmutablePoint(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
</span><span class="cx"> JSC::EncodedJSValue jsTestObjStrawberry(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
</span><span class="cx"> bool setJSTestObjStrawberry(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
</span><del>-JSC::EncodedJSValue jsTestObjStrictFloat(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
-bool setJSTestObjStrictFloat(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
</del><span class="cx"> JSC::EncodedJSValue jsTestObjDescription(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
</span><span class="cx"> JSC::EncodedJSValue jsTestObjId(JSC::ExecState*, JSC::EncodedJSValue, JSC::PropertyName);
</span><span class="cx"> bool setJSTestObjId(JSC::ExecState*, JSC::EncodedJSValue, JSC::EncodedJSValue);
</span><span class="lines">@@ -1089,7 +1085,6 @@
</span><span class="cx"> { "attrWithSetterExceptionWithMessage", CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjAttrWithSetterExceptionWithMessage), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestObjAttrWithSetterExceptionWithMessage) } },
</span><span class="cx"> { "stringAttrWithGetterException", CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjStringAttrWithGetterException), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestObjStringAttrWithGetterException) } },
</span><span class="cx"> { "stringAttrWithSetterException", CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjStringAttrWithSetterException), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestObjStringAttrWithSetterException) } },
</span><del>- { "strictTypeCheckingAttribute", CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjStrictTypeCheckingAttribute), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestObjStrictTypeCheckingAttribute) } },
</del><span class="cx"> { "customAttr", CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjCustomAttr), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestObjCustomAttr) } },
</span><span class="cx"> #if ENABLE(Condition4)
</span><span class="cx"> { "jsBuiltinAttribute", Accessor | Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(testObjJsBuiltinAttributeCodeGenerator), (intptr_t) (setTestObjJsBuiltinAttributeCodeGenerator) } },
</span><span class="lines">@@ -1134,7 +1129,6 @@
</span><span class="cx"> { "mutablePoint", CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjMutablePoint), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestObjMutablePoint) } },
</span><span class="cx"> { "immutablePoint", CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjImmutablePoint), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestObjImmutablePoint) } },
</span><span class="cx"> { "strawberry", CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjStrawberry), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestObjStrawberry) } },
</span><del>- { "strictFloat", CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjStrictFloat), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestObjStrictFloat) } },
</del><span class="cx"> { "description", ReadOnly | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjDescription), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },
</span><span class="cx"> { "id", CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjId), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(setJSTestObjId) } },
</span><span class="cx"> { "hash", ReadOnly | CustomAccessor, NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(jsTestObjHash), (intptr_t) static_cast<PutPropertySlot::PutValueFunc>(0) } },
</span><span class="lines">@@ -2010,21 +2004,6 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><del>-EncodedJSValue jsTestObjStrictTypeCheckingAttribute(ExecState* state, EncodedJSValue thisValue, PropertyName)
-{
- UNUSED_PARAM(state);
- UNUSED_PARAM(thisValue);
- JSValue decodedThisValue = JSValue::decode(thisValue);
- auto* castedThis = jsDynamicCast<JSTestObj*>(decodedThisValue);
- if (UNLIKELY(!castedThis)) {
- return throwGetterTypeError(*state, "TestObject", "strictTypeCheckingAttribute");
- }
- auto& impl = castedThis->wrapped();
- JSValue result = toJS(state, castedThis->globalObject(), impl.strictTypeCheckingAttribute());
- return JSValue::encode(result);
-}
-
-
</del><span class="cx"> EncodedJSValue jsTestObjCustomAttr(ExecState* state, EncodedJSValue thisValue, PropertyName)
</span><span class="cx"> {
</span><span class="cx"> UNUSED_PARAM(state);
</span><span class="lines">@@ -2428,21 +2407,6 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><del>-EncodedJSValue jsTestObjStrictFloat(ExecState* state, EncodedJSValue thisValue, PropertyName)
-{
- UNUSED_PARAM(state);
- UNUSED_PARAM(thisValue);
- JSValue decodedThisValue = JSValue::decode(thisValue);
- auto* castedThis = jsDynamicCast<JSTestObj*>(decodedThisValue);
- if (UNLIKELY(!castedThis)) {
- return throwGetterTypeError(*state, "TestObject", "strictFloat");
- }
- auto& impl = castedThis->wrapped();
- JSValue result = jsNumber(impl.strictFloat());
- return JSValue::encode(result);
-}
-
-
</del><span class="cx"> EncodedJSValue jsTestObjDescription(ExecState* state, EncodedJSValue thisValue, PropertyName)
</span><span class="cx"> {
</span><span class="cx"> UNUSED_PARAM(state);
</span><span class="lines">@@ -3317,28 +3281,6 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><del>-bool setJSTestObjStrictTypeCheckingAttribute(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)
-{
- JSValue value = JSValue::decode(encodedValue);
- UNUSED_PARAM(thisValue);
- JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue));
- if (UNLIKELY(!castedThis)) {
- return throwSetterTypeError(*state, "TestObject", "strictTypeCheckingAttribute");
- }
- auto& impl = castedThis->wrapped();
- TestObj* nativeValue = nullptr;
- if (!value.isUndefinedOrNull()) {
- nativeValue = JSTestObj::toWrapped(value);
- if (UNLIKELY(!nativeValue)) {
- throwAttributeTypeError(*state, "TestObject", "strictTypeCheckingAttribute", "TestObj");
- return false;
- }
- }
- impl.setStrictTypeCheckingAttribute(WTFMove(nativeValue));
- return true;
-}
-
-
</del><span class="cx"> bool setJSTestObjCustomAttr(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</span><span class="cx"> {
</span><span class="cx"> JSValue value = JSValue::decode(encodedValue);
</span><span class="lines">@@ -3738,23 +3680,6 @@
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx">
</span><del>-bool setJSTestObjStrictFloat(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)
-{
- JSValue value = JSValue::decode(encodedValue);
- UNUSED_PARAM(thisValue);
- JSTestObj* castedThis = jsDynamicCast<JSTestObj*>(JSValue::decode(thisValue));
- if (UNLIKELY(!castedThis)) {
- return throwSetterTypeError(*state, "TestObject", "strictFloat");
- }
- auto& impl = castedThis->wrapped();
- auto nativeValue = convert<float>(*state, value, ShouldAllowNonFinite::Yes);
- if (UNLIKELY(state->hadException()))
- return false;
- impl.setStrictFloat(WTFMove(nativeValue));
- return true;
-}
-
-
</del><span class="cx"> bool setJSTestObjId(ExecState* state, EncodedJSValue thisValue, EncodedJSValue encodedValue)
</span><span class="cx"> {
</span><span class="cx"> JSValue value = JSValue::decode(encodedValue);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestObjCDOMTestObjh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.h (203950 => 203951)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.h        2016-07-31 00:29:19 UTC (rev 203950)
+++ trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.h        2016-07-31 00:46:03 UTC (rev 203951)
</span><span class="lines">@@ -97,7 +97,6 @@
</span><span class="cx"> @property int attrWithSetterExceptionWithMessage;
</span><span class="cx"> @property (copy) NSString *stringAttrWithGetterException;
</span><span class="cx"> @property (copy) NSString *stringAttrWithSetterException;
</span><del>-@property (strong) DOMTestObj *strictTypeCheckingAttribute;
</del><span class="cx"> @property int customAttr;
</span><span class="cx"> @property (strong) DOMTestObj *jsBuiltinAttribute;
</span><span class="cx"> @property (readonly, strong) DOMTestObj *jsBuiltinReadOnlyAttribute;
</span><span class="lines">@@ -121,7 +120,6 @@
</span><span class="cx"> @property (strong) DOMSVGPoint *mutablePoint;
</span><span class="cx"> @property (strong) DOMSVGPoint *immutablePoint;
</span><span class="cx"> @property int strawberry;
</span><del>-@property float strictFloat;
</del><span class="cx"> @property (readonly) int descriptionName;
</span><span class="cx"> @property int idName;
</span><span class="cx"> @property (readonly, copy) NSString *hashName;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestObjCDOMTestObjmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm (203950 => 203951)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm        2016-07-31 00:29:19 UTC (rev 203950)
+++ trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm        2016-07-31 00:46:03 UTC (rev 203951)
</span><span class="lines">@@ -533,20 +533,6 @@
</span><span class="cx"> WebCore::raiseOnDOMError(ec);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-- (DOMTestObj *)strictTypeCheckingAttribute
-{
- WebCore::JSMainThreadNullState state;
- return kit(WTF::getPtr(IMPL->strictTypeCheckingAttribute()));
-}
-
-- (void)setStrictTypeCheckingAttribute:(DOMTestObj *)newStrictTypeCheckingAttribute
-{
- WebCore::JSMainThreadNullState state;
- ASSERT(newStrictTypeCheckingAttribute);
-
- IMPL->setStrictTypeCheckingAttribute(core(newStrictTypeCheckingAttribute));
-}
-
</del><span class="cx"> - (int)customAttr
</span><span class="cx"> {
</span><span class="cx"> WebCore::JSMainThreadNullState state;
</span><span class="lines">@@ -886,18 +872,6 @@
</span><span class="cx"> IMPL->setBlueberry(newStrawberry);
</span><span class="cx"> }
</span><span class="cx">
</span><del>-- (float)strictFloat
-{
- WebCore::JSMainThreadNullState state;
- return IMPL->strictFloat();
-}
-
-- (void)setStrictFloat:(float)newStrictFloat
-{
- WebCore::JSMainThreadNullState state;
- IMPL->setStrictFloat(newStrictFloat);
-}
-
</del><span class="cx"> - (int)descriptionName
</span><span class="cx"> {
</span><span class="cx"> WebCore::JSMainThreadNullState state;
</span></span></pre>
</div>
</div>
</body>
</html>