RFR: 8254049: Update WebView to public suffix list 2020-04-24
Arun Joseph
ajoseph at openjdk.java.net
Mon Oct 19 17:32:16 UTC 2020
On Mon, 19 Oct 2020 04:29:13 GMT, Arun Joseph <ajoseph at openjdk.org> wrote:
> We should use the public_suffix_list.dat file in the JDK instead. Reading the public_suffix_list.dat file is modified
> to be similar to
> [DomainName.java](https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/sun/security/util/DomainName.java).
> If the file is not present, `isPublicSuffix()` returns `false`, which is similar to how WebKit ignores the public
> suffix check when it is disabled. Test: Run PublicSuffixesTest.java
modules/javafx.web/src/test/java/test/com/sun/webkit/network/PublicSuffixesTest.java line 72:
> 70: @Test
> 71: public void testWildcardRule() {
> 72: test("mm", true);
Had to modify the test as the rule for `*.ar` domain changed.
-------------
PR: https://git.openjdk.java.net/jfx/pull/324
More information about the openjfx-dev
mailing list