Simple iOS 9 app to test delegate callbacks and reproduce bugs in the new
SFSafariViewController
.
When you tap a button corresponding to an HTTP status, the app instantiates a
SFSafariViewController
and pushes it onto the top-level
UINavigationController
.
The navigation bar will indicate when the SFSafariViewControllerDelegate
receives the didCompleteInitialLoad:
message.
The synthetic response pages utilize HTTP streaming to delay the
document.DOMContentLoaded
event, and include a slow hidden image to delay the
window.load
event. Indicators exist upon completion of both events.
When you tap a button corresponding to a bug, the app instantiates a
SFSafariViewController
and presents it modally. The bug should reproduce
under the conditions specified in the Radars below:
- Animated GIF OOM Crash
- Large Resource OOM Crash
- ContentInset + Keyboard Usability Bug
- ContentInset + Landscape Usability Bug
Uses the synthetic response generator
and common crashing bugs
tools included in http-playground
.