[Webkit-unassigned] [Bug 31290] New: Flash object that is offscreen does not update when its browser tab is not in focus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 10 04:30:20 PST 2009


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

           Summary: Flash object that is offscreen does not update when
                    its browser tab is not in focus
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
               URL: http://cloudtone.org/flashtest/
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Plug-ins
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: robccrowell at gmail.com


When a flash object is embedded in a page but positioned off screen using CSS
(top: -1000px), the flash object can't use ExternalInterface to call javascript
when the browser tab is not in focus.

I boiled it down to the simplest test case I could come up with (linked, .as
source available for download).  The .swf calls a function in index.html which
adds "pong!<br/>" to the page.  This pattern repeats every 1 second, so you
should see "pong!" scrolling down the page indefinitely.  As long as its
browser tab is selected it works fine (a new "pong!" appears every 1 second);
as soon as you flip to another tab it pauses until you bring focus back to the
tab, when it resumes.

If I reposition the flash object to be on the page (top: 0px) it works as
expected.

If I try this example in Chromium for the mac it works fine too.

-- 
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