• 
      

    Fix JS-based file uploads to not use XMLHttpRequest.sendAsBinary.

    Review Request #8044 — Created March 9, 2016 and submitted — Latest diff uploaded

    Information

    Review Board
    release-2.6.x
    8e24587...

    Reviewers

    The sendAsBinary method is non-standard and deprecated. It was only ever
    shipped in Firefox, and we used a polyfill on the rest of our platforms.

    The correct way of doing this is the Blob version of XMLHttpRequest.send().
    This is supported on all the browsers that support Uint8Array (which was used
    in the polyfill).

    • Uploaded a file via drag-and-drop.
    • Ran js-tests.