Bug 133004

Summary: Work around Bug in Silverlight Plugin
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: Plug-insAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, bfulgham, darin, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review+

Description Brent Fulgham 2014-05-16 12:32:39 PDT
The Silverlight plugin does not honor the HiDPI NPAPI features, such as "contentScalingFactor". If it is run in a plugin that uses HiDPI coordinates, it will get confused and draw offscreen. To work around this, we need to set the low-DPI flag prior to initializing NSApplication so that the proper value gets cached at plugin process startup.
Comment 1 Brent Fulgham 2014-05-16 12:32:56 PDT
<rdar://problem/16862907>
Comment 2 Brent Fulgham 2014-05-16 12:39:53 PDT
Created attachment 231583 [details]
Patch
Comment 3 Brent Fulgham 2014-05-16 13:47:18 PDT
Committed r168976: <http://trac.webkit.org/changeset/168976>