Tab restore: about:srcdoc

Repro page for an iOS tab-restore bug. It mimics ad scripts that call history.pushState inside an <iframe srcdoc>.

Steps

  1. Open this page in Prisma Browser on iOS 27.
  2. Wait until the status below says Done, about 2 seconds.
  3. Kill the app from the app switcher and reopen it.

Bug: the tab reopens as an about:srcdoc error page, or a blank page.
Fixed: the tab reopens on this page.

Live state

–history.length
0pushState calls in ad frames

Status: Ad frames are calling pushState…

Ad slots