Bug 122972

Summary: Don't add an include for return type of a [Custom] function in generated bindings code
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore JavaScriptAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, commit-queue, ggaren, mhahnenberg, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 122679    
Attachments:
Description Flags
proposed patch none

Description Alexey Proskuryakov 2013-10-17 10:30:32 PDT
Custom functions are not implemented in generated files, so there is no reason to include headers for their types. We already have this behavior for their argument types.

This is a minor roadblock for WebCrypto, where I have custom functions that return promises, but no matching headers for promise types. And a desirable behavior in any case, I think.
Comment 1 Alexey Proskuryakov 2013-10-17 10:32:05 PDT
Created attachment 214470 [details]
proposed patch
Comment 2 WebKit Commit Bot 2013-10-17 17:51:17 PDT
Comment on attachment 214470 [details]
proposed patch

Clearing flags on attachment: 214470

Committed r157615: <http://trac.webkit.org/changeset/157615>
Comment 3 WebKit Commit Bot 2013-10-17 17:51:20 PDT
All reviewed patches have been landed.  Closing bug.