Bug 132386

Summary: Web Inspector: differentiate callback argument conventions by invoking commands differently
Product: WebKit Reporter: Brian Burg <burg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bburg, graouts, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Brian Burg
Reported 2014-04-30 10:12:33 PDT
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2014-04-30 10:13:10 PDT
Blaze Burg
Comment 2 2017-04-06 15:47:47 PDT
This is nowadays auto-detected based on the type of the last argument. Closing.
Note You need to log in before you can comment on or make changes to this bug.