On 07/05/2015 06:11 PM, Anne van Kesteren wrote:
A while back there have been some requests from developers (seconded
by those working on GitHub) to have an API to indicate whether a site
is busy with one thing or another (e.g. networking).

They'd like to use this to avoid having to create their own UI. In
Firefox this could manifest itself by the spinner that replaces the
favicon when loading a tab.

Is there a reason we shouldn't expose a hook for this?




Sounds reasonable. Currently at least in Gecko one can emulate this with some 
dummy iframe and call
iframe.contentDocument.open(); to start the spinner, and 
iframe.contentDocument.close(); to stop it
(assuming of course no other loading is keeping the spinner running).

-Olli
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to