[Webkit-unassigned] [Bug 134528] New: Improve handling of primary offscreen plugins

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 1 17:12:13 PDT 2014


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

           Summary: Improve handling of primary offscreen plugins
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: roger_fong at apple.com
                CC: dino at apple.com, jonlee at apple.com


I noticed two issues with the handling of the primary off screen plugin case.
The first is that the determination of whether or not the plugin started off screen was happening too late, not at the initialization of the plugin as it should have been.
The second issue is that the plugin process type was being set to PluginProcessTypeSnapshot for these potential offscreen plugins. 
This caused them to be muted. The process type should instead be switched to PluginProcessTypeNormal. 
Note that setting the display state of the plugin to DisplaySnapshot also causes the plugin to be muted.
Alternatively, in the case where we do want to display a snapshot I could also recreate and reinitialize the plugin and force the plugin process type to be PluginProcessTypeSnapshot.

<rdar://problem/17471864>

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