Summary
typeof document.documentElement.requestFullscreen is undefined in iOS Safari
Expected vs. Actual Behavior
typeof document.documentElement.requestFullscreen
Expected: not defined in iOS 26.0.1 Safari (and probably in the webview)
Actual: always a function
Playground Link
No response
Browser Support
Have Tried The Latest Releases
Additional Context
Suggested change will enforce optional chaining for safer runtime code.
document.documentElement.requestFullscreen?.()