WebView2Feedback icon indicating copy to clipboard operation
WebView2Feedback copied to clipboard

API Review: PostWebMessageAsJson and PostWebMessageAsString APIs for workers

Open dhveerap opened this issue 9 months ago • 1 comments

This is a review for the new PostWebMessageAsJson and PostWebMessageAsString APIs for dedicated and service workers.

dhveerap avatar Mar 19 '25 04:03 dhveerap

It might be useful to expose the name of dedicated workers (i.e. the name specified by new Worker(url, { name }). This would provide a way to identify a specific worker without needing to depend on the script URL.

AshleyScirra avatar Mar 19 '25 10:03 AshleyScirra