Skip to content
Snippets Groups Projects
  1. Jun 05, 2020
  2. Jun 04, 2020
  3. Jun 03, 2020
  4. Jun 02, 2020
  5. Jun 01, 2020
  6. May 31, 2020
  7. May 29, 2020
    • ThibG's avatar
      Fix timeline markers in Firefox (regression from #13887) (#13889) · cc650bc0
      ThibG authored
      Unfortunately, Firefox does not support the `keepalive` parameter
      I used in the previous PR. However it supports the `navigator.sendBeacon`
      API that allows that kind of things, but does not allow setting headers.
      
      Therefore, this PR replaces it with a `sendBeacon` call that passes the
      bearer token in the POST data.
      
      Doorkeeper will then handle the auth token out of the box, as long as
      it is passed as form data. Passing the query as JSON does not work.
      cc650bc0
Loading