WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
132386
Web Inspector: differentiate callback argument conventions by invoking commands differently
https://bugs.webkit.org/show_bug.cgi?id=132386
Summary
Web Inspector: differentiate callback argument conventions by invoking comman...
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-04-30 10:13:10 PDT
<
rdar://problem/16770631
>
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.
Top of Page
Format For Printing
XML
Clone This Bug