<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>300492</bug_id>
          
          <creation_ts>2025-10-09 23:34:12 -0700</creation_ts>
          <short_desc>Proton Mail PDF and DOCX previews do not display</short_desc>
          <delta_ts>2025-10-10 16:04:14 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>272590</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Caden Mitchell">caden</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2149903</commentid>
    <comment_count>0</comment_count>
    <who name="Caden Mitchell">caden</who>
    <bug_when>2025-10-09 23:34:12 -0700</bug_when>
    <thetext># Description

Proton Mail&apos;s web app lets you preview files such as PDF and DOCX before downloading. You can read these documents in the email client. This does not function on WebKitGTK-based browsers.

# Steps to reproduce

1. [Create a Proton Mail account](https://mail.proton.me)
2. Log in to Proton Mail account
3. Email a PDF and DOCX to your Proton email
4. Open the email with the attachments and click on the attachment to open a preview

# Expected result

Attachment preview should be visible

# Actual result

There is no ability to preview common filetypes like PDF and DOCX in this browser engine. It is just a blank screen with no document reader.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149965</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2025-10-10 07:11:28 -0700</bug_when>
    <thetext>Probably a duplicate of bug #272590. Please check your web inspector!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149971</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2025-10-10 07:31:42 -0700</bug_when>
    <thetext>Also please check if the docx document is being converted to PDF. Probably? If not, then this is different.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2150072</commentid>
    <comment_count>3</comment_count>
    <who name="Caden Mitchell">caden</who>
    <bug_when>2025-10-10 15:03:40 -0700</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #2)
&gt; Also please check if the docx document is being converted to PDF. Probably?
&gt; If not, then this is different.

Okay, yes, even the DOCX gives that error to me:

`[Error] Refused to load blob:https://mail.proton.me/fd8dik39-729di-48wus-a29mxwb-293nx02mmpoz because it does not appear in the frame-ancestors directive of the Content Security Policy.`

I obfuscated the blob URL for security purposes, that is not the real url, just looks similar. I guess this is a duplicate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2150092</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2025-10-10 16:04:14 -0700</bug_when>
    <thetext>OK, thanks for checking.

*** This bug has been marked as a duplicate of bug 272590 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>