New issue
Advanced search Search tips

Issue 646332 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Localstorage not in sync across window

Reported by pranjal4...@gmail.com, Sep 13 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.101 Safari/537.36

Steps to reproduce the problem:
1. Open a new window from page such that popup blocker blocks page once.
2. Open page using link provided at popup blocker
3. try to drag drop element from one page to andther
4. Drop element in second page and set local storage variable in on drop event
5. try to access same variable in source floor drag end event
6. variable is not reflected in source floor immediately

What is the expected behavior?
As dragend is fired after drop so local storage should be accesible

What went wrong?
when popup opened automatically without blocker it worked fine

Did this work before? No 

Chrome version: 53.0.2785.101  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 22.0 r0
 
Components: -Services>Sync Blink>Storage>DOMStorage

Comment 2 by jsb...@chromium.org, Sep 14 2016

Status: WontFix (was: Unconfirmed)
A repro would help, but it sounds like the issue is an assumption that localstorage changes propagate in a specific order with respect to drag/drop events. There's no such guarantee.

You can listen for "storage" events to know when a window has been notified about localStorage changes made by another window.

Sign in to add a comment