[Webkit-unassigned] [Bug 174605] [WK] Deprecate WKScriptMessage.webView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 17 21:52:12 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174605

--- Comment #5 from Daniel Bates <dbates at webkit.org> ---
(In reply to mitz from comment #3)
> (In reply to Daniel Bates from comment #0)
> > Deprecate WKScriptMessage.webView as it is redundant now that WKFrameInfo
> > has a webView property. The webView property was added to WKFrameInfo in
> > r219013. Moving forward developers should use -[WKScriptMessage
> > frameInfo].webView to get the WKWebView that sent the script message.
> 
> Why should developers take two steps to get to something that previously
> required only one?

It's duplicative to have two ways to get the same information. I do not feel strongly about this patch and hence I did not put it up for review. Geoff Garen suggested that I deprecate WKScriptMessage.webView when I spoke to him
last Friday (07/14). Maybe Geoff can provide more insight into his motivation?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170718/e4ad20a1/attachment.html>


More information about the webkit-unassigned mailing list