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:04:37 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> The test runs after testLocalStorageSet , so there would be items in localstorage
>
> No, this is a common misconception when writing JUnit tests. The test execution order is _not_ guaranteed and will change. Each test method needs to run as if it were the first (or only) test.
i would change as suggested , test and then pushed the changes
-------------
PR: https://git.openjdk.java.net/jfx/pull/703
More information about the openjfx-dev
mailing list