Currently, binding code promise based APIs need to be made manually. It could be generated automatically based on direct use of DeferredWrapper or indirect use of DeferredWrapper through DOMPromise.
Created attachment 254638 [details] Patch
Created attachment 254711 [details] Adding test
Comment on attachment 254711 [details] Adding test View in context: https://bugs.webkit.org/attachment.cgi?id=254711&action=review > Source/WebCore/bindings/scripts/CodeGeneratorJS.pm:3662 > + push(@implContent, $indent . "JSPromiseDeferred* promiseDeferred = JSPromiseDeferred::create(exec, castedThis->globalObject());\n"); I think auto* would be better; no need to repeat the type twice on the same line of code.
Created attachment 254733 [details] Patch for landing
Comment on attachment 254733 [details] Patch for landing Clearing flags on attachment: 254733 Committed r185464: <http://trac.webkit.org/changeset/185464>
All reviewed patches have been landed. Closing bug.
Re-opened since this is blocked by bug 145894
The rollout bug says that this broke bindings tests, however it seems to have broken more than just those: <https://build.webkit.org/builders/Apple%20Yosemite%20Release%20WK2%20(Tests)/builds/5960>.
Created attachment 254780 [details] Rebasing expectations
Comment on attachment 254780 [details] Rebasing expectations Clearing flags on attachment: 254780 Committed r185493: <http://trac.webkit.org/changeset/185493>