SWC-1828: respond with page that sends a postMessage that contains the upload result