mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Use the same PDF plugin name as official Chrome
This commit is contained in:
@ -233,7 +233,7 @@ class PluginTestHandler : public RoutingTestHandler,
|
||||
void WaitForNavigatorPlugins(CefRefPtr<CefFrame> frame) const {
|
||||
// Test if the `navigator.plugins` list includes the PDF extension.
|
||||
const std::string& code =
|
||||
" if (navigator.plugins['Chromium PDF Viewer'].filename == "
|
||||
" if (navigator.plugins['Chrome PDF Viewer'].filename == "
|
||||
" 'mhjfbmdgcfjbbpaeojofohoefgiehjai') {"
|
||||
" window.testQuery({request:'pdf_plugin_found'});"
|
||||
"} else {"
|
||||
|
Reference in New Issue
Block a user