admin管理员组文章数量:1387334
We are upgrading the chromium browser from 118.0.5993.117 to 126.0.6478.126 for our embedded system. For PDF extension, we are migrating the PDF feature from chrome/browser to content/shell where the interfaces are exposed to the applications.
We moved the PDF feature from chrome/browser to content/shell successfully in 118.0.5993.117.
But in 126.0.6478.126, we are not able to do it because of new features like pdfViewerPrivate and OOPIF. So, we tried to fall back to old implementation as in 118.0.5993.117 where mimeHandlerPrivate feature is used to load the PDF page. For that, we have disabled pdfViewerPrivate and OOPIF features. Also, enabled ENABLE_PPAPI flag.
But we are getting the following error:
[ERROR:extension_function_dispatcher(641)] Unknown Extension API - mimeHandlerPrivate.getStreamInfo
Also, during the debugging we found the BindMimeHandlerService is not called, even after registering this function correctly. This is also the main reason for PDF page load failure.
How to debug why BindMimeHandlerService function is not being called? Any leads in this regard, will be very useful.
Thanks in advance.
本文标签:
版权声明:本文标题:In Chromium browser, PDF page load is failing with error : Unknown Extension API - mimeHandlerPrivate.getStreamInfo - Stack Over 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744570254a2613294.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论