| Summary: | Bindings generator should generate code for Promise-based APIs | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | youenn fablet <youennf> | ||||||||||
| Component: | WebCore Misc. | Assignee: | youenn fablet <youennf> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | commit-queue, darin, ggaren | ||||||||||
| Priority: | P2 | ||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Bug Depends on: | 145894 | ||||||||||||
| Bug Blocks: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
youenn fablet
2015-06-10 00:37:15 PDT
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> All reviewed patches have been landed. Closing bug. |