[Webkit-unassigned] [Bug 105019] New: Web Inspector: optional parameters of protocol commands should go after required ones

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 14 06:47:50 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105019

           Summary: Web Inspector: optional parameters of protocol
                    commands should go after required ones
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yurys at chromium.org
                CC: keishi at webkit.org, pmuellr at yahoo.com,
                    pfeldman at chromium.org, yurys at chromium.org,
                    apavlov at chromium.org, loislo at chromium.org,
                    vsevik at chromium.org,
                    web-inspector-bugs at googlegroups.com
        Depends on: 104074


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) {}
                                ^

...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list