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

Arun Joseph ajoseph at openjdk.java.net
Tue Nov 17 04:08:15 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

Arun Joseph has updated the pull request incrementally with one additional commit since the last revision:

  Check whether PSL file exists

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

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/324/files
  - new: https://git.openjdk.java.net/jfx/pull/324/files/e5c9d4de..6ed148f6

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jfx&pr=324&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=324&range=00-01

  Stats: 35 lines in 2 files changed: 27 ins; 0 del; 8 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