mirror of
https://github.com/electron/electron.git
synced 2026-01-11 00:18:02 -05:00
fix: isolate Pepper plugins (#28332)
This commit is contained in:
@@ -361,11 +361,8 @@ bool RendererClientBase::IsPluginHandledExternally(
|
||||
|
||||
bool RendererClientBase::IsOriginIsolatedPepperPlugin(
|
||||
const base::FilePath& plugin_path) {
|
||||
#if BUILDFLAG(ENABLE_PDF_VIEWER)
|
||||
return plugin_path.value() == kPdfPluginPath;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
// Isolate all Pepper plugins, including the PDF plugin.
|
||||
return true;
|
||||
}
|
||||
|
||||
std::unique_ptr<blink::WebPrescientNetworking>
|
||||
|
||||
Reference in New Issue
Block a user