+ Start a Discussion
Nicolas VuillamyNicolas Vuillamy 

Lightning Locker Service: provide access to History object (history.pushState )

Hi ,

In my lightning app, I use History.pushState , history.replaceState, etc ...

It was very convenient, but since the locker service activate, window.history is no longer accessible.

Is there some way to access it ?
If not, how/when can I manage SalesForce to provide a workaround for this regression due to Locker Service ?

Thanks & best regards
Doug ChasmanDoug Chasman
Fix to expose SecureWindow.history will be deployed next Tuesday in the next available Summer'16 patch.
Doug ChasmanDoug Chasman
... please open a case as soon as you hit this kind of "something is missing in $A, window, document, DOM elements, etc