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

Arun Joseph ajoseph at openjdk.java.net
Wed Nov 25 07:09:09 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:

  Create pslFile variable

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

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

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

  Stats: 20 lines in 1 file changed: 10 ins; 3 del; 7 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