[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: Integrated: 8264501: UIWebView for iOS is deprecated
From: Jose Pereda <jpereda () openjdk ! java ! net>
Date: 2021-03-31 12:45:14
Message-ID: nmQ7h4vOjvwcCJDCEIRjUBSkIbjCSSaZcy87lVjV4KY=.d676a6d3-aff8-493a-85bf-a9b40c651704 () github ! com
[Download RAW message or body]
On Wed, 31 Mar 2021 10:58:27 GMT, Jose Pereda <jpereda@openjdk.org> wrote:
> This PR replaces the deprecated iOS native view for web (UIWebView) with WKWebView. \
>
> While most of the native API can be easily replaced from one to the other, there \
> are some changes that affect the scripts execution, and therefore some minor \
> changes in WebEngine/JS2JavaBridge are required.
> There is also a side effect if named members of JS objects are used via \
> JSObject::setMember. The Java callbacks to JavaScript are now async, and the return \
> value will be ignored. A workaround is to use JSObject::call instead to pass that \
> value. This should be dealt with in a follow-up issue.
> Also, a peer is provided to allow having a JavaFX node that can be resized and \
> relocated.
> This PR has been tested on iOS, loading URLs and local html files with JS scripts.
This pull request has now been integrated.
Changeset: d80b8ada
Author: Jose Pereda <jpereda@openjdk.org>
URL: https://git.openjdk.java.net/jfx/commit/d80b8ada
Stats: 264 lines in 9 files changed: 175 ins; 17 del; 72 mod
8264501: UIWebView for iOS is deprecated
Reviewed-by: jvos
-------------
PR: https://git.openjdk.java.net/jfx/pull/449
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic