[Webkit-unassigned] [Bug 82930] [BlackBerry] Tab awareness for HTML5 concurrent audio

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 4 08:51:12 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=82930





--- Comment #8 from Antonio Gomes <tonikitoo at webkit.org>  2012-04-04 08:51:12 PST ---
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > could not the PAGE_VISIBILITY stuff we just enabled to BlackBerry port help somehow here?
> > 
> > Yeah the WebPagePrivate::setVisible property shows whether the tab is the selected one.
> 
> Note that, as described in comment #0, the intention of this patch is to let the platform media code know whether the tab it is on is the selected one. So I believe that PAGE_VISIBILITY does not apply here because it also seems to tie into the the activation state. Responding to the App's activation state is already handled for HTML5 media using a separate mechanism, and is not within the scope of this bug.

So the difference here is that from your "tab awareness" perspective, a tab can has to be the current selected tab, no matter if it is in thumbnail view mode, or the app itself is in background, etc. Whereas from a "page visibility" perspective, the tab (page) has to be the current selected one, and in active state, i.e. has focus and user can interact with it.


Does it sound correct?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list