1. 31 Aug, 2018 5 commits
  2. 30 Aug, 2018 1 commit
    • Masayuki Nakano's avatar
      Bug 1487402 - Selection should stop notifying AutoCopyListener of selection... · 85dcb074
      Masayuki Nakano authored
      Bug 1487402 - Selection should stop notifying AutoCopyListener of selection changes after unlinked r=smaug
      
      This is a regression of bug 1486370.
      
      Unlink of Selection removes all nsISelectionListener first, then, it removes
      all its ranges since it does not want to notify the changes anymore.
      
      After bug 1486370, Selection starts to store only bool flag whether it should
      notify AutoCopyListener of selection changes. So, unless it sets the bool flag
      to false in Unlink, it'll notify selection change caused by Unlink.
      
      Differential Revision: https://phabricator.services.mozilla.com/D4690
      
      --HG--
      extra : moz-landing-system : lando
      85dcb074
  3. 31 Aug, 2018 1 commit
    • Drew Willcoxon's avatar
      Bug 1480349 - RTL hosts don't stay visible when the browser window is resized. r=mak · 9ec19894
      Drew Willcoxon authored
      This does a few things that should help:
      
      (1) Run the timeout only after resize events have stopped.
      
      (2) Increase the timeout from 30ms to 100ms.  It doesn't need to be so fast.
      
      (3) Add a parameter to formatValue that bypasses actually formatting the value and instead only ensures the host is visible.  There's no need in this case to keep removing the formatting and then adding it back.  Having a "formatValue" method take a parameter to skip formatting is kind of weird, though.  At first I tried factoring out the make-host-visible part, but that requires also factoring out all the logic that determines whether the value is a formattable URL, and that ended up being ugly.  I'm open to better ideas.
      
      Based on an earlier patch by Marco Bonardo <mbonardo@mozilla.com>
      
      Differential Revision: https://phabricator.services.mozilla.com/D4502
      
      --HG--
      extra : moz-landing-system : lando
      9ec19894
  4. 30 Aug, 2018 33 commits