<!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>[185468] 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/185468">185468</a></dd>
<dt>Author</dt> <dd>commit-queue@webkit.org</dd>
<dt>Date</dt> <dd>2015-06-11 13:21:07 -0700 (Thu, 11 Jun 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Unreviewed, rolling out <a href="http://trac.webkit.org/projects/webkit/changeset/185464">r185464</a>.
https://bugs.webkit.org/show_bug.cgi?id=145894

&quot;This patch is breaking binding tests&quot; (Requested by youenn on
#webkit).

Reverted changeset:

&quot;Bindings generator should generate code for Promise-based
APIs&quot;
https://bugs.webkit.org/show_bug.cgi?id=145833
http://trac.webkit.org/changeset/185464</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreModuleswebaudioAudioContextidl">trunk/Source/WebCore/Modules/webaudio/AudioContext.idl</a></li>
<li><a href="#trunkSourceWebCorebindingsjsJSAudioContextCustomcpp">trunk/Source/WebCore/bindings/js/JSAudioContextCustom.cpp</a></li>
<li><a href="#trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm">trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm</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>
<li><a href="#trunkSourceWebCorebindingsscriptstestTestObjidl">trunk/Source/WebCore/bindings/scripts/test/TestObj.idl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (185467 => 185468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-06-11 20:12:39 UTC (rev 185467)
+++ trunk/Source/WebCore/ChangeLog        2015-06-11 20:21:07 UTC (rev 185468)
</span><span class="lines">@@ -1,5 +1,20 @@
</span><span class="cx"> 2015-06-11  Commit Queue  &lt;commit-queue@webkit.org&gt;
</span><span class="cx"> 
</span><ins>+        Unreviewed, rolling out r185464.
+        https://bugs.webkit.org/show_bug.cgi?id=145894
+
+        &quot;This patch is breaking binding tests&quot; (Requested by youenn on
+        #webkit).
+
+        Reverted changeset:
+
+        &quot;Bindings generator should generate code for Promise-based
+        APIs&quot;
+        https://bugs.webkit.org/show_bug.cgi?id=145833
+        http://trac.webkit.org/changeset/185464
+
+2015-06-11  Commit Queue  &lt;commit-queue@webkit.org&gt;
+
</ins><span class="cx">         Unreviewed, rolling out r185465.
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=145893
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreModuleswebaudioAudioContextidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Modules/webaudio/AudioContext.idl (185467 => 185468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Modules/webaudio/AudioContext.idl        2015-06-11 20:12:39 UTC (rev 185467)
+++ trunk/Source/WebCore/Modules/webaudio/AudioContext.idl        2015-06-11 20:21:07 UTC (rev 185468)
</span><span class="lines">@@ -50,9 +50,9 @@
</span><span class="cx">     // All panning is relative to this listener.
</span><span class="cx">     readonly attribute AudioListener listener;
</span><span class="cx"> 
</span><del>-    Promise suspend();
-    Promise resume();
-    Promise close();
</del><ins>+    [Custom] Promise suspend();
+    [Custom] Promise resume();
+    [Custom] Promise close();
</ins><span class="cx"> 
</span><span class="cx">     readonly attribute AudioContextState state;
</span><span class="cx">     attribute EventHandler onstatechange;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsjsJSAudioContextCustomcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/js/JSAudioContextCustom.cpp (185467 => 185468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/js/JSAudioContextCustom.cpp        2015-06-11 20:12:39 UTC (rev 185467)
+++ trunk/Source/WebCore/bindings/js/JSAudioContextCustom.cpp        2015-06-11 20:21:07 UTC (rev 185468)
</span><span class="lines">@@ -111,6 +111,33 @@
</span><span class="cx">     return JSValue::encode(CREATE_DOM_WRAPPER(jsConstructor-&gt;globalObject(), AudioContext, audioContext.get()));
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+JSValue JSAudioContext::suspend(ExecState* state)
+{
+    JSPromiseDeferred* promiseDeferred = JSPromiseDeferred::create(state, globalObject());
+
+    impl().suspend(DeferredWrapper(state, globalObject(), promiseDeferred));
+
+    return promiseDeferred-&gt;promise();
+}
+
+JSValue JSAudioContext::resume(ExecState* state)
+{
+    JSPromiseDeferred* promiseDeferred = JSPromiseDeferred::create(state, globalObject());
+
+    impl().resume(DeferredWrapper(state, globalObject(), promiseDeferred));
+
+    return promiseDeferred-&gt;promise();
+}
+
+JSValue JSAudioContext::close(ExecState* state)
+{
+    JSPromiseDeferred* promiseDeferred = JSPromiseDeferred::create(state, globalObject());
+
+    impl().close(DeferredWrapper(state, globalObject(), promiseDeferred));
+
+    return promiseDeferred-&gt;promise();
+}
+
</ins><span class="cx"> } // namespace WebCore
</span><span class="cx"> 
</span><span class="cx"> #endif // ENABLE(WEB_AUDIO)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptsCodeGeneratorJSpm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm (185467 => 185468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2015-06-11 20:12:39 UTC (rev 185467)
+++ trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm        2015-06-11 20:21:07 UTC (rev 185468)
</span><span class="lines">@@ -1047,7 +1047,7 @@
</span><span class="cx">                 $needsVisitChildren = 1;
</span><span class="cx">                 push(@headerContent, &quot;#endif\n&quot;) if $conditionalString;
</span><span class="cx">             }
</span><del>-            elsif (IsReturningPromise($attribute)) {
</del><ins>+            elsif ($attribute-&gt;signature-&gt;type eq &quot;Promise&quot;) {
</ins><span class="cx">                 $headerIncludes{&quot;JSDOMPromise.h&quot;} = 1;
</span><span class="cx"> 
</span><span class="cx">                 my $conditionalString = $codeGenerator-&gt;GenerateConditionalString($attribute-&gt;signature);
</span><span class="lines">@@ -2759,7 +2759,7 @@
</span><span class="cx"> 
</span><span class="cx">             next if $isCustom &amp;&amp; $isOverloaded &amp;&amp; $function-&gt;{overloadIndex} &gt; 1;
</span><span class="cx"> 
</span><del>-            AddIncludesForTypeInImpl($function-&gt;signature-&gt;type) unless $isCustom or IsReturningPromise($function);
</del><ins>+            AddIncludesForTypeInImpl($function-&gt;signature-&gt;type) unless $isCustom;
</ins><span class="cx"> 
</span><span class="cx">             my $functionName = GetFunctionName($className, $function);
</span><span class="cx"> 
</span><span class="lines">@@ -3386,8 +3386,6 @@
</span><span class="cx">         $argsIndex++;
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    push(@arguments, &quot;DeferredWrapper(exec, castedThis-&gt;globalObject(), promiseDeferred)&quot;) if IsReturningPromise($function);
-
</del><span class="cx">     push(@arguments, &quot;ec&quot;) if $raisesException;
</span><span class="cx"> 
</span><span class="cx">     return (&quot;$functionName(&quot; . join(&quot;, &quot;, @arguments) . &quot;)&quot;, scalar @arguments);
</span><span class="lines">@@ -3656,17 +3654,9 @@
</span><span class="cx">             push(@implContent, &quot;#else\n&quot;);
</span><span class="cx">             push(@implContent, $indent . &quot;result = &quot; . NativeToJSValue($function-&gt;signature, 1, $interfaceName, $functionString, $thisObject) . &quot;;\n&quot;);
</span><span class="cx">             push(@implContent, &quot;#endif\n&quot;);
</span><del>-        } elsif (IsReturningPromise($function)) {
-            AddToImplIncludes(&quot;JSDOMPromise.h&quot;);
-
-            push(@implContent, $indent . &quot;auto* promiseDeferred = JSPromiseDeferred::create(exec, castedThis-&gt;globalObject());\n&quot;);
-            push(@implContent, $indent . $functionString . &quot;;\n&quot;);
-            push(@implContent, $indent . &quot;JSValue result = promiseDeferred-&gt;promise();\n&quot;);
-
</del><span class="cx">         } else {
</span><span class="cx">             push(@implContent, $indent . &quot;JSValue result = &quot; . NativeToJSValue($function-&gt;signature, 1, $interfaceName, $functionString, $thisObject) . &quot;;\n&quot;);
</span><span class="cx">         }
</span><del>-        # FIXME: In case of IsReturningPromise($function), the function should not throw. Exception should be used to reject the promise callback.
</del><span class="cx">         push(@implContent, &quot;\n&quot; . $indent . &quot;setDOMException(exec, ec);\n&quot;) if $raisesException;
</span><span class="cx"> 
</span><span class="cx">         if ($codeGenerator-&gt;ExtendedAttributeContains($function-&gt;signature-&gt;extendedAttributes-&gt;{&quot;CallWith&quot;}, &quot;ScriptState&quot;)) {
</span><span class="lines">@@ -4784,13 +4774,6 @@
</span><span class="cx">     return !$interface-&gt;extendedAttributes-&gt;{&quot;NoInterfaceObject&quot;} || $interface-&gt;extendedAttributes-&gt;{&quot;CustomConstructor&quot;};
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-sub IsReturningPromise
-{
-    my $function = shift;
-
-    return $function-&gt;signature-&gt;type eq &quot;Promise&quot;;
-}
-
</del><span class="cx"> sub IsConstructable
</span><span class="cx"> {
</span><span class="cx">     my $interface = shift;
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestGObjectWebKitDOMTestObjcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp (185467 => 185468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp        2015-06-11 20:12:39 UTC (rev 185467)
+++ trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.cpp        2015-06-11 20:21:07 UTC (rev 185468)
</span><span class="lines">@@ -33,7 +33,6 @@
</span><span class="cx"> #include &quot;WebKitDOMDocumentPrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMNodePrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMPrivate.h&quot;
</span><del>-#include &quot;WebKitDOMPromisePrivate.h&quot;
</del><span class="cx"> #include &quot;WebKitDOMSVGPointPrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMTestEnumTypePrivate.h&quot;
</span><span class="cx"> #include &quot;WebKitDOMTestNodePrivate.h&quot;
</span><span class="lines">@@ -1552,15 +1551,6 @@
</span><span class="cx">     item-&gt;any(a, b);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-WebKitDOMPromise* webkit_dom_test_obj_test_promise_function(WebKitDOMTestObj* self)
-{
-    WebCore::JSMainThreadNullState state;
-    g_return_val_if_fail(WEBKIT_DOM_IS_TEST_OBJ(self), 0);
-    WebCore::TestObj* item = WebKit::core(self);
-    RefPtr&lt;WebCore::Promise&gt; gobjectResult = WTF::getPtr(item-&gt;testPromiseFunction());
-    return WebKit::kit(gobjectResult.get());
-}
-
</del><span class="cx"> glong webkit_dom_test_obj_get_read_only_long_attr(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 (185467 => 185468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h        2015-06-11 20:12:39 UTC (rev 185467)
+++ trunk/Source/WebCore/bindings/scripts/test/GObject/WebKitDOMTestObj.h        2015-06-11 20:21:07 UTC (rev 185468)
</span><span class="lines">@@ -651,17 +651,6 @@
</span><span class="cx"> webkit_dom_test_obj_any(WebKitDOMTestObj* self, gfloat a, glong b);
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * webkit_dom_test_obj_test_promise_function:
- * @self: A #WebKitDOMTestObj
- *
- * Returns: (transfer none): A #WebKitDOMPromise
- *
- * Stability: Unstable
-**/
-WEBKIT_API WebKitDOMPromise*
-webkit_dom_test_obj_test_promise_function(WebKitDOMTestObj* self);
-
-/**
</del><span class="cx">  * webkit_dom_test_obj_get_read_only_long_attr:
</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 (185467 => 185468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2015-06-11 20:12:39 UTC (rev 185467)
+++ trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp        2015-06-11 20:21:07 UTC (rev 185468)
</span><span class="lines">@@ -29,7 +29,6 @@
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;HTMLNames.h&quot;
</span><span class="cx"> #include &quot;JSDOMBinding.h&quot;
</span><del>-#include &quot;JSDOMPromise.h&quot;
</del><span class="cx"> #include &quot;JSDOMStringList.h&quot;
</span><span class="cx"> #include &quot;JSDocument.h&quot;
</span><span class="cx"> #include &quot;JSEventListener.h&quot;
</span><span class="lines">@@ -155,7 +154,6 @@
</span><span class="cx"> JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicDoubleMethod(JSC::ExecState*);
</span><span class="cx"> JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionVariadicNodeMethod(JSC::ExecState*);
</span><span class="cx"> JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionAny(JSC::ExecState*);
</span><del>-JSC::EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionTestPromiseFunction(JSC::ExecState*);
</del><span class="cx"> 
</span><span class="cx"> // Attributes
</span><span class="cx"> 
</span><span class="lines">@@ -650,7 +648,6 @@
</span><span class="cx">     { &quot;variadicDoubleMethod&quot;, JSC::Function, NoIntrinsic, (intptr_t)static_cast&lt;NativeFunction&gt;(jsTestObjPrototypeFunctionVariadicDoubleMethod), (intptr_t) (2) },
</span><span class="cx">     { &quot;variadicNodeMethod&quot;, JSC::Function, NoIntrinsic, (intptr_t)static_cast&lt;NativeFunction&gt;(jsTestObjPrototypeFunctionVariadicNodeMethod), (intptr_t) (2) },
</span><span class="cx">     { &quot;any&quot;, JSC::Function, NoIntrinsic, (intptr_t)static_cast&lt;NativeFunction&gt;(jsTestObjPrototypeFunctionAny), (intptr_t) (2) },
</span><del>-    { &quot;testPromiseFunction&quot;, JSC::Function, NoIntrinsic, (intptr_t)static_cast&lt;NativeFunction&gt;(jsTestObjPrototypeFunctionTestPromiseFunction), (intptr_t) (0) },
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> const ClassInfo JSTestObjPrototype::s_info = { &quot;TestObjectPrototype&quot;, &amp;Base::s_info, 0, CREATE_METHOD_TABLE(JSTestObjPrototype) };
</span><span class="lines">@@ -4426,20 +4423,6 @@
</span><span class="cx">     return JSValue::encode(jsUndefined());
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-EncodedJSValue JSC_HOST_CALL jsTestObjPrototypeFunctionTestPromiseFunction(ExecState* exec)
-{
-    JSValue thisValue = exec-&gt;thisValue();
-    JSTestObj* castedThis = jsDynamicCast&lt;JSTestObj*&gt;(thisValue);
-    if (UNLIKELY(!castedThis))
-        return throwThisTypeError(*exec, &quot;TestObj&quot;, &quot;testPromiseFunction&quot;);
-    ASSERT_GC_OBJECT_INHERITS(castedThis, JSTestObj::info());
-    auto&amp; impl = castedThis-&gt;impl();
-    JSPromiseDeferred* promiseDeferred = JSPromiseDeferred::create(exec, castedThis-&gt;globalObject());
-    impl.testPromiseFunction(DeferredWrapper(exec, castedThis-&gt;globalObject(), promiseDeferred));
-    JSValue result = promiseDeferred-&gt;promise();
-    return JSValue::encode(result);
-}
-
</del><span class="cx"> void JSTestObj::visitChildren(JSCell* cell, SlotVisitor&amp; visitor)
</span><span class="cx"> {
</span><span class="cx">     auto* thisObject = jsCast&lt;JSTestObj*&gt;(cell);
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestObjCDOMTestObjh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.h (185467 => 185468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.h        2015-06-11 20:12:39 UTC (rev 185467)
+++ trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.h        2015-06-11 20:21:07 UTC (rev 185468)
</span><span class="lines">@@ -173,5 +173,4 @@
</span><span class="cx"> - (void)variadicDoubleMethod:(double)head tail:(double)tail;
</span><span class="cx"> - (void)variadicNodeMethod:(DOMNode *)head tail:(DOMNode *)tail;
</span><span class="cx"> - (void)any:(float)a b:(int)b;
</span><del>-- (DOMPromise *)testPromiseFunction;
</del><span class="cx"> @end
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestObjCDOMTestObjmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm (185467 => 185468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm        2015-06-11 20:12:39 UTC (rev 185467)
+++ trunk/Source/WebCore/bindings/scripts/test/ObjC/DOMTestObj.mm        2015-06-11 20:21:07 UTC (rev 185468)
</span><span class="lines">@@ -1183,12 +1183,6 @@
</span><span class="cx">     IMPL-&gt;any(a, b);
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-- (DOMPromise *)testPromiseFunction
-{
-    WebCore::JSMainThreadNullState state;
-    return kit(WTF::getPtr(IMPL-&gt;testPromiseFunction()));
-}
-
</del><span class="cx"> @end
</span><span class="cx"> 
</span><span class="cx"> WebCore::TestObj* core(DOMTestObj *wrapper)
</span></span></pre></div>
<a id="trunkSourceWebCorebindingsscriptstestTestObjidl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/bindings/scripts/test/TestObj.idl (185467 => 185468)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/bindings/scripts/test/TestObj.idl        2015-06-11 20:12:39 UTC (rev 185467)
+++ trunk/Source/WebCore/bindings/scripts/test/TestObj.idl        2015-06-11 20:21:07 UTC (rev 185468)
</span><span class="lines">@@ -274,8 +274,6 @@
</span><span class="cx">     // Promise attributes
</span><span class="cx">     [CustomGetter] readonly attribute Promise testPromiseAttr;
</span><span class="cx"> 
</span><del>-    // Promise function
-    Promise testPromiseFunction();
</del><span class="cx"> };
</span><span class="cx"> 
</span><span class="cx"> // The following comment should not generate any code.
</span></span></pre>
</div>
</div>

</body>
</html>