1. 05 Dec, 2019 1 commit
  2. 02 Dec, 2019 2 commits
  3. 27 Nov, 2019 1 commit
  4. 15 Nov, 2019 1 commit
  5. 14 Nov, 2019 2 commits
  6. 31 Oct, 2019 1 commit
  7. 24 Oct, 2019 1 commit
  8. 17 Oct, 2019 1 commit
  9. 01 Nov, 2019 1 commit
    • Nicholas Nethercote's avatar
      Bug 1587162 - Fix UBSAN complaints about pref callbacks. r=erahm · a5187093
      Nicholas Nethercote authored
      Lots of these callbacks have a non-`void*` final parameter, which UBSAN
      complains about. This commit changes them to have a `void*` parameter.
      
      This requires undoing the machinery added in the first two commits of bug
      1473631: `TypePrefChangeFunc` and `PREF_CHANGE_METHOD`. The resulting code is
      simpler (which is good) and more boilerplate-y (which is bad) but avoids the
      undefined behaviour (which is good).
      
      Differential Revision: https://phabricator.services.mozilla.com/D50901
      
      --HG--
      extra : moz-landing-system : lando
      a5187093
  10. 10 Oct, 2019 1 commit
  11. 30 Sep, 2019 1 commit
  12. 23 Sep, 2019 1 commit
  13. 11 Oct, 2019 2 commits
  14. 09 Oct, 2019 4 commits
  15. 11 Sep, 2019 1 commit
  16. 27 Aug, 2019 1 commit
  17. 21 Aug, 2019 1 commit
  18. 14 Aug, 2019 1 commit
    • Olli Pettay's avatar
      Bug 1563587, Make history.back/forward/go asynchronous, r=farre · 1373bb37
      Olli Pettay authored
      The main part of the change is the change to ChildSHistory - make it possible to have Go() to be called asynchronously
      and also let one to cancel pending history navigations. History object (window.history) can then use either the sync or
      async Go(), depending on the dom.window.history.async pref.
      
      LoadDelegate, which is used by GeckoView, needs special handling, since
      it spins event loop nestedly. With session history loads and same-document loads we can just
      bypass it.
      To deal with same-document case, MaybeHandleSameDocumentNavigation is split to IsSameDocumentNavigation,
      which collects relevant information about the request and returns true if same-document navigation should happen,
      and then later HandleSameDocumentNavigation uses that information to trigger the navigation.
      SameDocumentNavigationState is used to pass the information around.
      
      referrer-policy-test-case.sub.js is buggy causing tests to pass only on Firefox with sync history API.
      
      nested-context-navigations-iframe.html.ini is added because of https://bugzilla.mozilla.org/show_bug.cgi?id=1572932
      
      Differential Revision: https://phabricator.services.mozilla.com/D41199
      
      --HG--
      extra : moz-landing-system : lando
      1373bb37
  19. 13 Aug, 2019 2 commits
    • Coroiu Cristina's avatar
      Backed out 2 changesets (bug 1563587) for junit failures on a CLOSED TREE · 3745a4a2
      Coroiu Cristina authored
      Backed out changeset d07f2e7d6f5e (bug 1563587)
      Backed out changeset a365d3c43261 (bug 1563587)
      3745a4a2
    • Olli Pettay's avatar
      Bug 1563587, Make history.back/forward/go asynchronous, r=farre · 924f5f1a
      Olli Pettay authored
      The main part of the change is the change to ChildSHistory - make it possible to have Go() to be called asynchronously
      and also let one to cancel pending history navigations. History object (window.history) can then use either the sync or
      async Go(), depending on the dom.window.history.async pref.
      
      LoadDelegate, which is used by GeckoView, needs special handling, since
      it spins event loop nestedly. With session history loads and same-document loads we can just
      bypass it.
      To deal with same-document case, MaybeHandleSameDocumentNavigation is split to IsSameDocumentNavigation,
      which collects relevant information about the request and returns true if same-document navigation should happen,
      and then later HandleSameDocumentNavigation uses that information to trigger the navigation.
      SameDocumentNavigationState is used to pass the information around.
      
      referrer-policy-test-case.sub.js is buggy causing tests to pass only on Firefox with sync history API.
      
      nested-context-navigations-iframe.html.ini is added because of https://bugzilla.mozilla.org/show_bug.cgi?id=1572932
      
      Differential Revision: https://phabricator.services.mozilla.com/D41199
      
      --HG--
      extra : moz-landing-system : lando
      924f5f1a
  20. 26 Jul, 2019 1 commit
  21. 12 Jun, 2019 1 commit
  22. 22 May, 2019 2 commits
    • Anny Gakhokidze's avatar
      Bug 1545474 - Part 3: Test eviction of content viewer entries, r=peterv · 7c107812
      Anny Gakhokidze authored
      Add a new callback to session history listener to listen for content
      viewers being evicted.
      
      Differential Revision: https://phabricator.services.mozilla.com/D32731
      
      --HG--
      extra : rebase_source : 29c8e9299af718e75029dfae4e937a3d4f18900d
      extra : amend_source : 19e679c6d2721dd7e8d7da1ec7af3033439210b4
      extra : source : 5e4d0ab9e52ce1e1d1684fdb59534a66e9f9d9b9
      extra : histedit_source : 44e9cb7ba0589c79c03b2dc58ec4d0d4c0c98422
      7c107812
    • Gurzau Raul's avatar
      Backed out 18 changesets (bug 1525720) for mass failures on Windows platform... · 57f573a6
      Gurzau Raul authored
      Backed out 18 changesets (bug 1525720) for mass failures on Windows platform e.g ProcessPriorityManager.cpp on a CLOSED TREE.
      
      Backed out changeset 1f2e86c2d691 (bug 1525720)
      Backed out changeset 9b79caa460a0 (bug 1525720)
      Backed out changeset e65cb2d4c5a5 (bug 1525720)
      Backed out changeset 99f971a02d87 (bug 1525720)
      Backed out changeset d25963c72ff7 (bug 1525720)
      Backed out changeset 810b73719871 (bug 1525720)
      Backed out changeset ee10a8254481 (bug 1525720)
      Backed out changeset 1bcf9f586c55 (bug 1525720)
      Backed out changeset d3b2ac8d5ca4 (bug 1525720)
      Backed out changeset 697774dd8984 (bug 1525720)
      Backed out changeset eadeacbe4483 (bug 1525720)
      Backed out changeset 32eeee79d628 (bug 1525720)
      Backed out changeset 07678a2fa9e7 (bug 1525720)
      Backed out changeset 757b4f595cc4 (bug 1525720)
      Backed out changeset b255e0a84e12 (bug 1525720)
      Backed out changeset 9a255864f75d (bug 1525720)
      Backed out changeset 5f1c1b609ec1 (bug 1525720)
      Backed out changeset 00d83f1d02e0 (bug 1525720)
      57f573a6
  23. 07 May, 2019 1 commit
    • Anny Gakhokidze's avatar
      Bug 1545474 - Part 2: Modify eviction of content viewers to accomodate session... · bfdcd82c
      Anny Gakhokidze authored
      Bug 1545474 - Part 2: Modify eviction of content viewers to accomodate session history changes, r=peterv
      
      When we need to evict content viewers, we group SHEntrySharedParentState,
      corresponding to session history entries that need to be evicted, by their
      content parent and send their id's to their corresponding parents for eviction.
      
      Differential Revision: https://phabricator.services.mozilla.com/D32730
      
      --HG--
      extra : rebase_source : 17398d3ed2fdf5debba8224559c48f41b4cfbf2d
      extra : source : 0feb286c5b85e6e2a0ac56058c596324ca28d817
      extra : histedit_source : ba6c9eb5c6ce7013b80c407372eeab7146b07f51
      bfdcd82c
  24. 25 Apr, 2019 1 commit
  25. 18 Apr, 2019 1 commit
    • Anny Gakhokidze's avatar
      Bug 1545474 - Part 1: Consolidate sync IPC calls inside of... · c43df3d4
      Anny Gakhokidze authored
      Bug 1545474 - Part 1: Consolidate sync IPC calls inside of nsDocShell::UpdateURLAndHistory, r=peterv, r=nika for adding sync IPC messages
      
      Inside of nsDocShell::UpdateURLAndHistory, there are 4 sync IPC calls to
      nsSHistory plus 1 static call, which contains at least one nsSHEntry::GetParent
      sync IPC call. All of these calls can be moved inside of a new method
      EvictContentViewersOrReplaceEntry on nsSHEntry, resulting in just 1 sync IPC
      call.
      
      Differential Revision: https://phabricator.services.mozilla.com/D32729
      
      --HG--
      extra : rebase_source : ad09a9061cd6fe8eb6796b2809ea191aceb3ac73
      extra : source : 2cd5cd24763ff320719aedb2142a79822efd6de4
      extra : histedit_source : fdc4f80cfd8807e46c2dc02e6ab82f2bd3acc391
      c43df3d4
  26. 19 Jun, 2019 1 commit
  27. 21 Jun, 2019 1 commit
  28. 04 Jun, 2019 1 commit
  29. 15 Apr, 2019 1 commit
    • Anny Gakhokidze's avatar
      Bug 1541515 - Consolidate IPC calls to nsISHEntry inside of... · 68641708
      Anny Gakhokidze authored
      Bug 1541515 - Consolidate IPC calls to nsISHEntry inside of nsDocShell::GetChildSHEntry, r=peterv, r=nika for adding sync IPC messages
      
      Currently, nsDocShell::GetChildSHEntry calls 3 sync IPC calls on nsISHEntry,
      and the method GetChildSHEntry only has one caller. By moving GetChildSHEntry
      method to parent process for nsISHEntry, resulting in a new method
      nsISHEntry::GetChildSHEntry, 3 sync IPC calls can be reduced to 1.
      
      Differential Revision: https://phabricator.services.mozilla.com/D27633
      
      --HG--
      extra : rebase_source : 1e76a1b07d827b35bae7ed6acca25aa8732c9ed0
      extra : source : 34d91f82faa36dd8d8ed721de365122d831f7b25
      extra : histedit_source : 86592bc747d506c546ec660e57087e78b9719cf7
      68641708
  30. 07 May, 2019 1 commit
    • Anny Gakhokidze's avatar
      Bug 1546761 - Consolidate IPC calls to nsISHistory inside of... · 4472abff
      Anny Gakhokidze authored
      Bug 1546761 - Consolidate IPC calls to nsISHistory inside of nsDocShell::OnNewURI, r=peterv, r=nika for adding sync IPC messages
      
      Inside of nsDocShell::OnNewURI there are 4 sync IPC calls
      to nsSHistory that can be replaced with 1 sync IPC call
      by adding a new method EnsureCorrectEntryAtCurrIndex to nsSHistory.
      
      Differential Revision: https://phabricator.services.mozilla.com/D31539
      
      --HG--
      extra : rebase_source : 09d7738b2f2dc2334c8f6186e5918b9d0ea3e618
      extra : source : 82a41bffcbbca24ad3e84b045d75e4cb01ae1445
      extra : histedit_source : 96eb7d2dbed2ad8fe4cc2d37358ec2358f696442
      4472abff
  31. 25 Apr, 2019 1 commit
  32. 12 Apr, 2019 1 commit