1. 05 Dec, 2019 1 commit
  2. 16 May, 2019 1 commit
  3. 13 May, 2019 1 commit
  4. 10 Dec, 2018 1 commit
  5. 10 Apr, 2018 2 commits
  6. 25 Mar, 2017 1 commit
    • Jan Henning's avatar
      Bug 1265818 - Part 2 - Add scriptable methods for getting and setting PresStates from JS. r=jst · 0e575681
      Jan Henning authored
      This will allow the session store to store and restore scroll positions (and pinch zoom on Android) for past session history entries as well, whereas today only the scroll position of the current page is saved.
      
      As a LayoutHistoryState saves its PresStates in a hash table that doesn't allow direct access to its contents if you don't already know the entry's key, we provide a function to iterate over all stored PresStates and retrieve their keys, which can then be used to get access to each individual PresState in turn. Since nsPresState is little more than a fancy struct and we don't want to have to turn it into a full-blown XPCOM-compatible interface, we just pass the scroll/zoom-related values we're interested in as in/out parameters from/to JS via the LayoutHistoryState.
      
      We also require a helper method for initialising an SHEntry's LayoutHistoryState, since normally this doesn't happen until the PresShell wants to capture the history state in it. We on the other hand require a LayoutHistoryState to be present immediately after creation of a fresh SHEntry object, so we can feed it the session store data during history restoration.
      
      MozReview-Commit-ID: FfZf8KDsVWl
      ***
      
      --HG--
      extra : rebase_source : 0b3f729bff3ac24680d6fe8a0fb796979886170b
      0e575681
  7. 04 Mar, 2017 1 commit
  8. 26 Dec, 2015 1 commit
  9. 17 Jun, 2014 1 commit
  10. 24 Jul, 2013 1 commit
  11. 21 May, 2012 1 commit
  12. 29 Sep, 2011 1 commit
  13. 06 Oct, 2011 2 commits
  14. 03 Dec, 2008 1 commit
  15. 21 Jul, 2007 1 commit
  16. 30 Mar, 2006 1 commit
  17. 11 Nov, 2005 1 commit
  18. 27 Jan, 2005 1 commit
  19. 30 May, 2001 1 commit
    • pollmann%netscape.com's avatar
      Bug 77834: Fix problem where form control state is being restored to the wrong... · 1ac7a371
      pollmann%netscape.com authored
      Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history.  The problem was that the hash key we used was the content ID, which was not consistent from page load to page load.  The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
      1ac7a371
  20. 14 Jan, 2000 1 commit
  21. 15 Sep, 1999 1 commit
  22. 14 Sep, 1999 1 commit
  23. 01 Sep, 1999 1 commit
  24. 30 Aug, 1999 1 commit