[Webkit-unassigned] [Bug 132386] New: Web Inspector: differentiate callback argument conventions by invoking commands differently

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 30 10:12:12 PDT 2014


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

           Summary: Web Inspector: differentiate callback argument
                    conventions by invoking commands differently
           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: burg at cs.washington.edu
                CC: timothy at apple.com, joepeck at webkit.org,
                    webkit-bug-importer at group.apple.com,
                    graouts at webkit.org


Right now there's one place where the code sets a magical .expectsResultObject on the callback passed to a backend command invocation.

I think we should disambiguate this by adding a different method (like .invoke or .promise) rather than using a magic property.

-- 
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