Page MenuHomePhabricator

iOS WebKit form resets under memory pressure
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue

  1. Open Clip2Commons on an iPhone or iPad using Safari (or another WebKit-based browser).
  2. Select a video to upload.
  3. Begin filling in the upload metadata (for example, changing the license or selecting categories).
  4. Continue using the upload form.

What happens?

The upload form unexpectedly resets and returns to the initial upload screen, causing all entered metadata to be lost. This issue has been observed on iOS devices but could not be reproduced on desktop browsers.

What should have happened instead?

The upload form should remain stable throughout the upload process and preserve all entered metadata without reloading or resetting unexpectedly.

Other information

  • Reported on iPhone 13 using Safari on iOS.
  • Desktop macOS browsers do not appear to exhibit this issue.
  • Current capability detection relies on navigator.deviceMemory, which is not supported by WebKit-based browsers. An explicit iOS/WebKit detection or a conservative low-memory mode may help prevent unexpected page resets under memory pressure.