RFR: 8255940: localStorage is null after window.close() [v3]

Jay Bhaskar duke at openjdk.java.net
Sun Feb 27 05:43:30 UTC 2022


On Sun, 27 Feb 2022 05:25:25 GMT, Jay Bhaskar <duke at openjdk.java.net> wrote:

>> modules/javafx.web/src/test/java/test/javafx/scene/web/LocalStorageTest.java line 55:
>> 
>>> 53: 
>>> 54:     private static final File LOCAL_STORAGE_DIR = new File("LocalStorageDir");
>>> 55:     private static final File PRE_LOCKED = new File("zoo_local_storage");
>> 
>> This looks like a copy / paste from `UserDataDirectoryTest`, and is unused (and not needed) in this test.
>
> LOCAL_STORAGE_DIR is used by web engine , to store local data in this case

private static final File LOCAL_STORAGE_DIR = new File("LocalStorageDir");  is required, and i agree
    not require for private static final File PRE_LOCKED = new File("zoo_local_storage");

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

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


More information about the openjfx-dev mailing list