Closed Bug 753555 Opened 13 years ago Closed 7 years ago

Implement window.openDialog and window.showModalDialog on Android

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mbrubeck, Unassigned)

References

Details

(Keywords: compat, platform-parity, uiwanted)

These methods caused problems in Fennec so they were disabled in bug 725502 and bug 735237. We should fix and re-enable them. Modal dialogs need to block interaction with the parent tab. Adding uiwanted to determine how we want to present them in Fennec.
Modal stuff is pretty awful. Can we just not implement these ever?
I don't recall what openDialog does, but showModalDialog shouldn't be too bad. Just don't send user events to the parent window.
Blocks: 679841
FWIW, showModalDialog was recently removed from Chrome, in Chrome 37. It's still available through "enterprise policies" or some such though. And we're planning on removing it from Gecko sometime past FF38. So if it's a lot of engineering effort to make these work, it might not be worth it. But if it's easy enough then it could help web compat.
Given that we fixed bug 981796 and openDialog is a chrome only API, I'm going to close this as WONTFIX. Please reopen if I'm mistaken.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.