popstate event not triggered when target state is null only on iOS version of Chrome
Reported by
m...@vasekpurchart.cz,
Jan 15 2018
|
|||
Issue descriptionSteps to reproduce the problem: 1. Open new page (to have clear history, more importantly empty current history state - history.state) 2. Use the History API to create new entries - e.g. by history.pushState() 3. Register popstate listener with an action 4. Navigate back - by using browser UI, or by history.back(); What is the expected behavior? Popstate listener should be triggered and registered function called with event.state === null. The attached test case is written in this spirit, should fire alert with "Empty" state if working correctly. What went wrong? Popstate event is not triggered when the target state is null. This works as expected in all browsers we tested (Chrome/Desktop+Android, Firefox, IE, Safari), but does not work specifically on iOS Chrome (while Safari on the same system behaves correctly). Did this work before? N/A Does this work in other browsers? Yes Chrome version: 63.0.3239.73 (Oficiální sestavení) stable (64bitový) Channel: stable OS Version: 63.0.3239.73 Flash Version: I searched for similar bugs, but found only https://bugs.chromium.org/p/chromium/issues/detail?id=308674 which seems similar, but slightly different (and should be fixed a few years on top of that). This comment https://bugs.chromium.org/p/chromium/issues/detail?id=308674#c12 seems like the issue on hand though.
,
Jan 17 2018
,
Oct 18
|
|||
►
Sign in to add a comment |
|||
Comment 1 by sczs@chromium.org
, Jan 17 2018