RESOLVED FIXED 167268
When Safari reloads pages with Flash objects after Flash is installed, placeholders don't paint (but do work!)
https://bugs.webkit.org/show_bug.cgi?id=167268
Summary When Safari reloads pages with Flash objects after Flash is installed, placeh...
Anders Carlsson
Reported 2017-01-20 16:50:05 PST
When Safari reloads pages with Flash objects after Flash is installed, placeholders don't paint (but do work!)
Attachments
Patch (7.26 KB, patch)
2017-01-20 16:52 PST, Anders Carlsson
no flags
Patch (7.19 KB, patch)
2017-01-23 10:46 PST, Anders Carlsson
no flags
Patch (7.18 KB, patch)
2017-01-23 11:43 PST, Anders Carlsson
sam: review+
Anders Carlsson
Comment 1 2017-01-20 16:52:46 PST
Ricky Mondello
Comment 2 2017-01-20 17:30:28 PST
Anders Carlsson
Comment 3 2017-01-23 10:46:12 PST
Anders Carlsson
Comment 4 2017-01-23 11:43:08 PST
Sam Weinig
Comment 5 2017-01-23 12:53:37 PST
Comment on attachment 299529 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=299529&action=review > Source/WebCore/page/Page.cpp:540 > Vector<Ref<Frame>> framesNeedingReload; Can you remove this? It seems unused now. > Source/WebCore/page/Page.cpp:546 > + pluginInfoProvider->refresh(reload); Is there anything ensuring the PluginInfoProviders are kept alive for this loop? If they are tied to the page's lifetime, do we really need the two loops? > Source/WebCore/plugins/PluginInfoProvider.cpp:57 > + for (auto& frame : framesNeedingReload) > + frame->loader().reload(); For a specific page, is there any reason to reload a frame that is a child of a frame that has already been reloaded in this loop? For instance, if the main frame is reloaded, what is the value of reloading any subframes?
Sam Weinig
Comment 6 2017-01-23 12:54:54 PST
Oh, as always, is this testable?
Anders Carlsson
Comment 7 2017-01-23 12:59:52 PST
Darin Adler
Comment 8 2017-01-23 17:57:38 PST
Comment on attachment 299529 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=299529&action=review >> Source/WebCore/page/Page.cpp:540 >> Vector<Ref<Frame>> framesNeedingReload; > > Can you remove this? It seems unused now. Patch landed with this unused vector still there. Should remove it!
Note You need to log in before you can comment on or make changes to this bug.