How can I tell if an nsIDocument is being displayed in the frontmost tab
(perhaps in a frame inside the frontmost tab)? Is there a way (nicer
than what nsContentSink does) to detect if the user is actively
interacting with the frontmost tab?
--
Henri Sivonen
hsiv...@iki.fi
http://hsivonen.iki.fi/
With great pain, in the general case...
> Is there a way (nicer than what nsContentSink does) to detect if the user is actively
> interacting with the frontmost tab?
It seems to me that the right way to do this might be to run the sink
flushing off the refresh driver or something (and adjust refresh driver
in background tabs, etc, so that decision is centralized).
-Boris