Closed Bug 1198473 Opened 9 years ago Closed 7 years ago

webview should expose current state

Categories

(Firefox OS Graveyard :: Runtime, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: irakli, Unassigned)

References

Details

At least mozbrowser keeps it's state opaque and only way of knowing state is to hook into all events and try to maintain it on your own. Examples are current url, loading, canGoBack / canGoForward, title, icon etc.. It would make a lot more sense to expose all of this state as fields as well so components loaded later in the process (like add ons) could find out what the state of things are as they could have missed some events. It also would make API more ergonomic and declarative. See: https://github.com/benfrancis/webview/issues/7
No longer blocks: 1198471
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.