Bug 206398 - Add WKScriptMessageHandler API that asynchronously responds with a promise
Summary: Add WKScriptMessageHandler API that asynchronously responds with a promise
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit API (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords: InRadar
Depends on: 210700
Blocks:
  Show dependency treegraph
 
Reported: 2020-01-16 22:05 PST by Brady Eidson
Modified: 2020-04-19 22:55 PDT (History)
20 users (show)

See Also:


Attachments
Patch (71.98 KB, patch)
2020-04-18 23:53 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch (73.19 KB, patch)
2020-04-19 01:17 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch (75.84 KB, patch)
2020-04-19 09:27 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch (76.04 KB, patch)
2020-04-19 09:45 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch (77.62 KB, patch)
2020-04-19 11:05 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch (79.76 KB, patch)
2020-04-19 11:40 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch (79.81 KB, patch)
2020-04-19 12:01 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
Patch (omg maybe this is the one) (79.82 KB, patch)
2020-04-19 12:15 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff
PFR (80.51 KB, patch)
2020-04-19 13:28 PDT, Brady Eidson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brady Eidson 2020-01-16 22:05:29 PST
Add WKScriptMessageHandler API that asynchronously responds with a promise
Comment 1 Radar WebKit Bug Importer 2020-01-16 22:05:46 PST
<rdar://problem/58671599>
Comment 2 Brady Eidson 2020-04-18 14:40:09 PDT
(This is actually at rdar://problem/57243492)
Comment 3 Brady Eidson 2020-04-18 16:24:20 PDT
Blocked on https://bugs.webkit.org/show_bug.cgi?id=210700 as we'll be adding new actual *API* that uses WKContentWorld, and therefore the bug described over in will become very real for more people
Comment 4 Brady Eidson 2020-04-18 23:53:22 PDT
Created attachment 396895 [details]
Patch
Comment 5 Brady Eidson 2020-04-19 01:17:23 PDT
Created attachment 396898 [details]
Patch

While I whittle away at the GTK/etc build failures, Mac and iOS are good to go.

Let's review!
Comment 6 EWS Watchlist 2020-04-19 01:18:10 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 7 Brady Eidson 2020-04-19 09:27:40 PDT
Created attachment 396914 [details]
Patch
Comment 8 Brady Eidson 2020-04-19 09:45:57 PDT
Created attachment 396915 [details]
Patch
Comment 9 Brady Eidson 2020-04-19 11:05:31 PDT
Created attachment 396918 [details]
Patch
Comment 10 Brady Eidson 2020-04-19 11:40:45 PDT
Created attachment 396919 [details]
Patch
Comment 11 Brady Eidson 2020-04-19 12:01:44 PDT
Created attachment 396921 [details]
Patch
Comment 12 Brady Eidson 2020-04-19 12:15:54 PDT
Created attachment 396923 [details]
Patch (omg maybe this is the one)
Comment 13 Brady Eidson 2020-04-19 13:22:56 PDT
(In reply to Brady Eidson from comment #12)
> Created attachment 396923 [details]
> Patch (omg maybe this is the one)

It was. Updating ChangeLogs
Comment 14 Brady Eidson 2020-04-19 13:28:15 PDT
Created attachment 396925 [details]
PFR
Comment 15 EWS 2020-04-19 22:55:17 PDT
Committed r260350: <https://trac.webkit.org/changeset/260350>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 396925 [details].