RFR: 8254049: Update WebView to public suffix list 2020-04-24

Arun Joseph ajoseph at openjdk.java.net
Mon Oct 19 17:32:14 UTC 2020


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

-------------

Commit messages:
 - 8254049: Update WebView to public suffix list 2020-04-24

Changes: https://git.openjdk.java.net/jfx/pull/324/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=324&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8254049
  Stats: 5325 lines in 3 files changed: 55 ins; 5216 del; 54 mod
  Patch: https://git.openjdk.java.net/jfx/pull/324.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/324/head:pull/324

PR: https://git.openjdk.java.net/jfx/pull/324


More information about the openjfx-dev mailing list