Skip to content

[Bug]: PDF Viewer is broken on latest v13.x betas and master #29191

@codebytere

Description

@codebytere

Preflight Checklist

Electron Version

master

What operating system are you using?

Other (specify below)

Operating System Version

All

What arch are you using?

Other (specify below)

Last Known Working Electron version

No response

Expected Behavior

PDF Viewer should load arbitrary PDF files.

Actual Behavior

PDF viewer is no longer working on latest betas of v13 and master.

Broken as of #28462 - Log

Error is

[7225:0517/163141.223358:INFO:CONSOLE(6)] "Not allowed to load local resource: chrome://resources/css/text_defaults_md.css", source: chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html (6)
[7225:0517/163141.254576:INFO:CONSOLE(0)] "Not allowed to load local resource: chrome://resources/js/load_time_data.m.js", source: chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html (0)
[7225:0517/163141.254661:INFO:CONSOLE(0)] "Not allowed to load local resource: chrome://resources/js/cr.m.js", source: chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html (0)
[7225:0517/163141.254724:INFO:CONSOLE(0)] "Not allowed to load local resource: chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js", source: chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html (0)
[7225:0517/163141.254875:INFO:CONSOLE(0)] "Not allowed to load local resource: chrome://resources/js/assert.m.js", source: chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html (0)

which originates here so it's likely an AllowList related issue.

Testcase Gist URL

https://gist.github.com/80a9108e271ca83c82cc4a8772e371fc

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions