RFR: 8255940: localStorage is null after window.close() [v2]
Jay Bhaskar
duke at openjdk.java.net
Sat Feb 5 15:23:17 UTC 2022
On Sat, 5 Feb 2022 15:02:09 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> modules/javafx.web/src/test/java/test/javafx/scene/web/LocalStorageTest.java line 60:
>>
>>> 58: assertNotNull(webEngine.executeScript("localStorage;"));
>>> 59: getEngine().executeScript("window.close();");
>>> 60: assertNotNull(webEngine.executeScript("localStorage;"));
>>
>> It seems useful to verify the contents by writing something before the window is closed, and then verifying that the same value can be read.
>
> Can you comment on this?
yes, your are right , i would change it
-------------
PR: https://git.openjdk.java.net/jfx/pull/703
More information about the openjfx-dev
mailing list