This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Description
Steps to reproduce
- Launch sample-browser.
- Open a website that redirects using a data URI. The one I used was: https://mars.nasa.gov/participate/send-your-name/mars2020/certificate/599173796266
- Click download
Expected behavior
If the Data URI is an image, a dialogue should pop up to ask the user if they want to download the image.
Actual behavior
Application crashes with a TransactionTooLargeException
Device information
- Android device: Google Pixel 3(Android 10).
Notes
The application redirects because ( from what I can gather), we check for the "new" url hostname versus our session, which in this case will be different. From there, we redirect with an intent. In the example above, the picture on the NASA website is ~1.2MB which will lead to the application trying to send an intent that's too big (data parcel size 3473380 bytes in my case).
┆Issue is synchronized with this Jira Task