1. 24 Mar, 2022 1 commit
  2. 23 Mar, 2022 6 commits
  3. 22 Mar, 2022 2 commits
    • Robert Knight's avatar
      Reset callback before checking for absence of call · d5ace953
      Robert Knight authored
      This pattern makes it clearer that we are testing for a callback not
      being invoked after a sequence of events.
      d5ace953
    • Robert Knight's avatar
      Fix issues that could cause unexpected `onDocumentReady` firing · f7ab8ac0
      Robert Knight authored
      Fix various issues that could cause the callback to `onDocumentReady` to
      fire after the subscription had been canceled.
      
       - `pollOnUnload` was called twice for the initial document, once at the
         top level of the function and once by the first call to
         `checkForDocumentChange`. This resulted into "unload" listeners being
         added for the same window.
      
       - The initial async `checkForDocumentChange` call would still fire if
         the subscription was immediately canceled
      
       - If the current window's "unload" event fired after the subscription
         was canceled, polling would be restarted, effectively re-subscribing
         to document changes.
      f7ab8ac0
  4. 21 Mar, 2022 16 commits
  5. 17 Mar, 2022 12 commits
  6. 15 Mar, 2022 3 commits