If this is implemented fully in the browser, the file wouldn’t actually be uploaded anywhere. Modern browsers can read local files via the File API and process them with JS/WebAssembly.
One way to verify is to open the Network tab in DevTools and see if any requests are made when editing the PDF.