Enter data in either box and click the button to store it. If you navigate to this page in a new window or tab, or quit and relaunch your browser, localStorage will remain and sessionStorage will disappear.
Reload the page to verify the values are stored. Then click the button to open a popup window.
Popups and new tabs opened from a window.open
event should inherit both storage values
Local storage:
Session storage: