8000 Unable to view PDF in a webview when a partition attribute is declared · Issue #27121 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Unable to view PDF in a webview when a partition attribute is declared #27121
Open
@Titaye

Description

@Titaye

Preflight Checklist

  • [ x] I have read the Contributing Guidelines for this project.
  • [ x] I agree to follow the Code of Conduct that this project adheres to.
  • [x ] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

I'm trying to display a pdf inside a webview which has its own partition. The PDF plugin is loading (visually I can see the gray PDF background), but no pdf content is displayed. I'm using this code

<webview plugins="true" partition="ramdomid" src="https://arxiv.org/ftp/arxiv/papers/1703/1703.09735.pdf"></webview>

When I'm using the same code without the partition attribute, everything is working.

  • Electron Version:
    • 11.1.1
  • Operating System:
    • Windows 10 2004
  • Last Known Working Electron version:
    • ?

Expected Behavior

I should be able to see the pdf content in a webview with a partition set

Actual Behavior

The webview is displaying the pdf plugin surface without the pdf content

To Reproduce

Working html code

<webview plugins="true" src="https://arxiv.org/ftp/arxiv/papers/1703/1703.09735.pdf"></webview>

Non working html code

<webview plugins="true" partition="ramdomid" src="https://arxiv.org/ftp/arxiv/papers/1703/1703.09735.pdf"></webview>

https://gist.github.com/c5ea00ef71c18729d002eacad75e49e4

Screenshots

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0