RESOLVED INVALID 197815
Some Web Share API examples fail in WKWebView, succeed in Safari
https://bugs.webkit.org/show_bug.cgi?id=197815
Summary Some Web Share API examples fail in WKWebView, succeed in Safari
Beth Dakin
Reported 2019-05-11 09:50:59 PDT
This demo works in Safari and SVC but fails in WKWebView: https://paul.kinlan.me/london-from-kingscross/ Other examples work everywhere, which is expected.
Attachments
Tim Horton
Comment 1 2019-05-11 20:44:08 PDT
Works for me in Minibrowser on Mac. Is this about iOS?
Tim Horton
Comment 2 2019-05-11 21:09:13 PDT
This is (obviously) not a Web Share bug. The bug is that this page uses navigator.serviceWorker without feature detecting it, in the same script that installs the click handler on the Share button. Since serviceWorker isn't available in WKWebView, the script throws an exception, thus no click handler, thus no share.
Beth Dakin
Comment 3 2019-05-12 14:39:47 PDT
Thanks Tim!
Note You need to log in before you can comment on or make changes to this bug.