mainfest.json: file_handlers doesn't work with "application/pdf" mime type

%3CLINGO-SUB%20id%3D%22lingo-sub-3294652%22%20slang%3D%22en-US%22%3Emainfest.json%3A%20file_handlers%20doesn't%20work%20with%20%22application%2Fpdf%22%20mime%20type%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3294652%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3Eif%20we%20want%20to%20use%20the%20filehandlers%20(enabled%20by%20edge%3A%2F%2FFlags)%20and%20add%20the%20following%20line%3A%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3E%22file_handlers%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%5B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3CSPAN%3E%22action%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22%2F%22%3C%2FSPAN%3E%3CSPAN%3E%2C%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3CSPAN%3E%22accept%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%7B%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%3C%2FSPAN%3E%3CSPAN%3E%22application%2Fpdf%22%3C%2FSPAN%3E%3CSPAN%3E%3A%20%3C%2FSPAN%3E%3CSPAN%3E%22.pdf%22%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%26nbsp%3B%20%26nbsp%3B%20%7D%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3EPDF%20doublick%20doesn't%20work%20in%20explorer.exe%20to%20open.%20However%20if%20we%20switch%20to%20%22text%2F*%22%20and%20open%20a%20text-file%20everything%20worked%20as%20expected%20and%20the%20file%20permission%20dialog%20appears.%20This%20is%20not%20the%20case%20in%20google%20chrome%20and%20we%20want%20to%20use%20filehandlers%20with%20pdf-files.%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
Regular Visitor

Hello,

if we want to use the filehandlers (enabled by edge://Flags) and add the following line: 

"file_handlers": [
    {
      "action": "/",
      "accept": {
        "application/pdf": ".pdf"
      }
    }
 
PDF doublick doesn't work in explorer.exe to open. However if we switch to "text/*" and open a text-file everything worked as expected and the file permission dialog appears. This is not the case in google chrome and we want to use filehandlers with pdf-files.
0 Replies