[Webkit-unassigned] [Bug 162385] iOS 10 breaks Construct 2-made UIWebView Cordova apps

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 22 16:37:29 PDT 2016


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

--- Comment #5 from Chris Dumez <cdumez at apple.com> ---
(In reply to comment #4)
> > It's unfortunate that using web feature detection was ever used to determine
> > anything about the native environment.
> 
> Yes, but we seem to have had no other choice. WKWebView does not identify
> itself in any way, and we are framework developers, so we don't have any
> control over the embedding code. So there was no option to detect WKWebView
> other than rely on the availability of the APIs, which of course is subject
> to change. Hence my suggestion to make WKWebView identifiable to Javascript
> in some way.
> 
> So I guess we can try and convince WKWebView embedders to make it
> identifiable to our engine in some way - but some way of identifying
> WKWebView itself from Javascript seems like it would be more reliable.

I still do not understand why framework developers would need to know about their embedder (UIWebView vs WKWebView). If JS features are available in one and not the other then feature detection seems to be the way to go (not embedder detection).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160922/40bfe8b7/attachment-0001.html>


More information about the webkit-unassigned mailing list