Bug 105019

Summary: Web Inspector: optional parameters of protocol commands should go after required ones
Product: WebKit Reporter: Yury Semikhatsky <yurys>
Component: Web Inspector (Deprecated)Assignee: Yury Semikhatsky <yurys>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, keishi, kkania, loislo, pfeldman, pmuellr, vsevik, web-inspector-bugs, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 104074    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Yury Semikhatsky
Reported 2012-12-14 06:50:10 PST
Input.dispatchMouseEvent declaration breaks this rule which leads to the following closure compiler error: .... Source/WebCore/inspector/front-end/protocol-externs.js:2939: WARNING - optional arguments must be at the end InputAgent.dispatchMouseEvent = function(type, opt_modifiers, opt_timestamp, opt_button, opt_clickCount, x, y, opt_callback) {} ^ ...
Attachments
Patch (5.33 KB, patch)
2012-12-14 06:52 PST, Yury Semikhatsky
no flags
Yury Semikhatsky
Comment 1 2012-12-14 06:52:37 PST
Yury Semikhatsky
Comment 2 2012-12-14 06:53:53 PST
Alternatively we could make CodeGeneratorInspector.py rearrange parameters so that optional would go after required ones.
WebKit Review Bot
Comment 3 2012-12-14 09:22:22 PST
Comment on attachment 179475 [details] Patch Clearing flags on attachment: 179475 Committed r137751: <http://trac.webkit.org/changeset/137751>
WebKit Review Bot
Comment 4 2012-12-14 09:22:26 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.