PDF.js should NOT be shown in brave://extensions when launched with --show-component-extension-options
See original GitHub issueDescription
PDF.js should NOT be shown in brave://extensions when launched with --show-component-extension-options
(Sorry!) I missed this, apparently, when verifying https://github.com/brave/brave-browser/issues/14338 (with the testcase in https://github.com/brave/brave-core/pull/8061)
Steps to Reproduce
- Go to
https://chrome.google.com/webstore/detail/pdf-viewer/oemmndcbldboiebfnladdacbdfmadadm - Verify that you can install
PDF.js - Verify that
PDF.jsputs a browser action button in the extension area - Verify that
PDF.jsshows inbrave://extensions - Open a PDF document and verify
PDF.jsis used - Launch Brave from the command line with
--show-component-extension-options - Load
brave://extensions - Look for the
PDF Viewer/PDF.jsextension (shouldn’t be there)
Actual result:
Expected result:
There should be no PDF.js / PDF Viewer extensions visible in brave://extensions, when launched with --show-component-extension-options
Reproduces how often:
100%
Brave version (brave://version info)
| Brave | 1.25.2 Chromium: 90.0.4430.51 (Official Build) nightly (x86_64) |
|---|---|
| Revision | 32e5fa33a31641bded70a90e60121060691e7125-refs/branch-heads/4430@{#927} |
| OS | macOS Version 11.2.3 (Build 20D91) |
Version/Channel Information:
- Can you reproduce this issue with the current release? yes
- Can you reproduce this issue with the beta channel? yes
- Can you reproduce this issue with the nightly channel? yes
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
PDF.js opens pdf in Firefox but not Chrome/Chromium or ...
Use local web server when you develop a web application for Chrome that uses XMLHttpRequest. PDF.js and files must be on the same...
Read more >Can I disable the PDF Viewer? - Brave Community
It only shows the extensions I have personally downloaded and installed. Expected result: Should show all the extensions. Reproduces how often:.
Read more >Brendan Dahl "PDF.js - Firefox's HTML5 PDF Viewer" - YouTube
PDF. js - Firefox's HTML5 PDF ViewerTime: Wednesday @ 5:00pm | Room N-124http://html5devconf.com/index.html #HTML5DevConfJust a short time ...
Read more >How to Build a PDF Viewer with TypeScript & PDF.js | PDFTron
In this article, we show how to create a PDF viewing app using PDF.js and ... This will allow us to avoid the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

That’s where the confusion occurred. I was running through Linux and noticed that I can still see the PDF Viewer we installed via
brave://extensionswhile running Brave with--show-component-extension-options. The test case basically mentioned that we shouldn’t be visible which was strange but figured it was an issue. @stephendonner confirmed he was seeing the same thing.Thanks for clearing it up @simonhong & @bsclifton 👍
@GeetaSarvadnya the test plan shown was from a PR 3 years ago; maybe the right thing to do would have been to copy the test plan and edit instead of linking to the old test plan in https://github.com/brave/brave-core/pull/8061