What happened? How did it happen? What are the steps to replicate the issue.
When I try to view a large (> 4MB) base64 image the mobile app becomes completely unresponsive. If the app still works then extremely laggy until the tab with the base64 image is closed. If it doesn't work then killing and restarting the app sometimes works. Sometimes only a fresh reinstall works though.
When copy & pasting a large (>4MB) base64 image link into the address bar of the desktop app the memory (>8B) and cpu (>200%) quickly fill up and the desktop app becomes unresponsive. Can only be resolved with force quit.
Interestingly, this does not happen when I open the link from my bookmarks. The image loads and renders fine. But as soon as I click into the address bar, orion becomes unresponsive again.
Reliable way to reproduce:
- On your mobile phone orion browser, log in to OpenAI's ChatGPT with Plus subscription
- Generate an image with DALL-E 3 in a new chat window
- After generation, click the image once, click the download button (arrow down)
- See how the app becomes unresponsive
- Optional:
a) Save the tab in a new window and open the tab on the orion desktop app
b) Save the tab in your bookmarks and open the bookmark on the orion desktop app
c) Copy&Paste a base64 image link directly into a new tab on orion desktop
Observations:
- Chrome Desktop reports 413: Your client issued a request that was too large
- Safari Desktop allows the copy&paste and desperately tries to open the image without success. However, Safari Desktop doesn't become unresponsive.
- Chrome Mobile doesn't do anything when I click the download button for the image
- Safari Mobile asks me if I want to view or download the image. Downloading works fine, I can open the image afterwards. Viewing simply does nothing (like in Chrome Mobile).
What did you expect to happen? Describe the desired functionality.
Orion desktop and Orion mobile can handle or gracefully reject large base64 images.
What version of Orion are you running?
0.99.125-beta (WebKit 616.1.22)