WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
237862
- [WKUIDelegate _webView:getAlternateURLFromImage:completionHandler:] is never invoked, only the synchronous version -[WKUIDelegate _webView:(alternateURLFromImage:userInfo:]
https://bugs.webkit.org/show_bug.cgi?id=237862
Summary
- [WKUIDelegate _webView:getAlternateURLFromImage:completionHandler:] is neve...
Kevin Turner
Reported
2022-03-14 18:22:40 PDT
We need to ensure we have an asynchronous path to return this information to WebKit, as any image parsing must take place asynchronously.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-03-14 18:42:30 PDT
<
rdar://problem/90282241
>
Alex Christensen
Comment 2
2022-03-15 20:09:05 PDT
getAlternateURLFromImage and alternateURLFromImage are currently hooked up to very different code paths. Am I correct in assuming that this is a request for a version of alternateURLFromImage with a completion block?
Kevin Turner
Comment 3
2022-03-16 09:39:40 PDT
(In reply to Alex Christensen from
comment #2
)
> getAlternateURLFromImage and alternateURLFromImage are currently hooked up > to very different code paths. Am I correct in assuming that this is a > request for a version of alternateURLFromImage with a completion block?
Yes - apologies if I've misunderstood getAlternateURLFromImage, but we do need to do the work for alternateURLFromImage asynchronously as right now we are forced to it synchronously.
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