...even in the common case where this data isn't going to be used because the user isn't going to submit a report.
It might be useful to have a simpler UX, whereby we initially show the user the alerts with only a "Report this site" button below. When the user clicks that button, we swap the UI for a reporting UI which computes the report content (screenshot, dom, and referrer chain) for the user to review before they click the "Send report" button.
Opening the popup window can take quite a bit of time. The popup performs expensive operations onload:
...even in the common case where this data isn't going to be used because the user isn't going to submit a report.
It might be useful to have a simpler UX, whereby we initially show the user the alerts with only a "Report this site" button below. When the user clicks that button, we swap the UI for a reporting UI which computes the report content (screenshot, dom, and referrer chain) for the user to review before they click the "Send report" button.