On 07/13/2015 01:50 PM, Richard Barnes wrote:
On Sun, Jul 5, 2015 at 5:11 PM, Anne van Kesteren <ann...@annevk.nl> 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?


Obligatory: Will this be restricted to secure contexts?

It would be easier to answer to that question if it was properly spec'ed 
somewhere
what "secure context" means ;)



But given that web pages can already achieve something like this using 
document.open()/close(), at least on Gecko,
perhaps exposing the API to certainly-not-secure-contexts wouldn't be too bad.

-Olli





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


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

Reply via email to