最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

In Chromium browser, PDF page load is failing with error : Unknown Extension API - mimeHandlerPrivate.getStreamInfo - Stack Over

programmeradmin3浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论