Summary: | Remotely hosted plugins don’t work in window-server-hosted WebKit1 views | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||||
Component: | Plug-ins | Assignee: | Tim Horton <thorton> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | andersca, jer.noble, koivisto, sam, simon.fraser | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Tim Horton
2013-08-12 17:40:27 PDT
Created attachment 208578 [details]
patch
Created attachment 208667 [details]
patch with dynamic updating
Comment on attachment 208667 [details] patch with dynamic updating View in context: https://bugs.webkit.org/attachment.cgi?id=208667&action=review > Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm:259 > + BOOL shouldHostLayersInWindowServer = [self windowHostsLayersInWindowServer]; I think you should declare this as bool instead. > Source/WebKit/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm:260 > + if (_hostsLayersInWindowServer != shouldHostLayersInWindowServer) Otherwise this might not do what you want it to. Thanks, Anders! http://trac.webkit.org/changeset/154019 This made many plugin tests time out: http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK1%20(Tests)/r154019%20(9412)/results.html Reverted in http://trac.webkit.org/changeset/154050. Caused >50 layout tests to fail, breaking the WebKit1 test bots completely. Reopening since it's reverted. The tests all pass locally, I'll have to test on Mountain Lion. MIG .defs were in the wrong order http://trac.webkit.org/changeset/154078 |