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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 4 09:02:31 PDT 2012


--- Comment #9 from Andrew Lo <anlo at rim.com>  2012-04-04 09:02:31 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.

PAGE_VISIBILITY takes both tab selection and application activation state into account.

However WebPage's visible property only takes tab selection into account, not activation state. Therefore it seems like you can use the latter.

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