Open Bug 2074562 Opened 2 months ago Updated 1 month ago

[UI] Error state for when signature cannot be placed

Categories

(GeckoView :: PDF Viewer, task)

All
Android
task
Points:
3

Tracking

(Not tracked)

People

(Reporter: olivia, Unassigned)

References

Details

(Whiteboard: [fxdroid][group6])

We have plans for an error case when this exception happens.

Would happen as a failure to connect to PDF.js. Don't think this is a common state, but possible if I navigation had started and the timing was just right and other unexpected happenings.

Whiteboard: [fxdroid][group6]

I talked about this more with :aarjav in Figma and Slack and when talking about possibilities. This seems more and more like a theoretical technical possibility than one our users are going to run into.

I think most scenarios would be something really went wrong like PDF.js wasn't connected or something extreme. (I'm not sure even if those scenarios would actually onException back or just pend the GeckoResult. Maybe a malformed PDF that PDF.js can't place on and rejects the signature? I'd have to look deeper into the final code, right now it is in initial placement stage.)

We have telemetry on pdf_viewer.sign_dialog_add_failure and can see if users actually run into this scenario. So, the plan right now is to monitor on Nightly once this releases and check that graph.

No longer blocks: pdf-sign-mvp
You need to log in before you can comment on or make changes to this bug.