WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
31290
Flash object that is offscreen does not update when its browser tab is not in focus
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...
Rob Crowell
Reported
2009-11-10 04:30:19 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2009-11-10 06:09:43 PST
<
rdar://problem/7380435
>
Alexey Proskuryakov
Comment 2
2022-07-01 11:35:08 PDT
Mass closing plug-in bugs, as plug-in support has been removed from WebKit. Please comment and/or reopen if this still affects WebKit in some way.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug