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

Kevin Rushforth kcr at openjdk.java.net
Sat Feb 5 15:28:20 UTC 2022


On Sat, 5 Feb 2022 15:15:26 GMT, Jay Bhaskar <duke at openjdk.java.net> wrote:

>> 1. My point was that if you initially check for `m_localStorage` being non-null, without the check for `isClosing` (see my earlier comment), then you don't need to check it here.
>> 
>> 2. Regarding the enabling of local storage in WebCore, are you seeing any problems as a result of not having it enabled?
>
> yes, in case of not enable , in any case localstorage would be null

That's what I would have guessed, but since it seems to be working well, I'm puzzled. Are there cases where local storage is disabled when it should be enabled?

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

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


More information about the openjfx-dev mailing list