-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pinned PDF tab imported from muon not filtered out - follow up to 2361 #2376
Comments
On Windows 7, a prompt is shown to save the pdf file. Nevertheless the pdf link is filtered out of tabs and pinned tabs. Tested on
|
This is because Muon uses a different location for PDFs depending on whether they are part of a normal tab or a pinned tab. Pinned tabs have a location that refers to the actual URL (e.g. Since we are filtering based on the scheme, the current filtering works for locations that start with If we really want to avoid loading any PDF tabs, one option is to also filter on extension and just drop all locations that have a |
On Linux none of the pinned tabs are imported. I had the following tabs pinned Upon import on 0.57.17, no new window was imported and no pinned tab for brave.com was also created |
I'm waiting on Linux and Windows builds now and will investigate once they're done.. |
Closing as |
Description
Found while testing #2361 (see #2361 (comment))
If you have about pages or PDFs those should not be imported into b-c per 2361. However, during testing I found that if a PDF is pinned, it is imported to b-c.
Steps to Reproduce
a. A normal tab that resolves to an external URL, e.g. https://brave.com
b. A normal tab that resolves to an internal URL with the
about:
scheme, e.g.about:brave
c. A normal tab that resolves to an internal URL with the
chrome-extension://
scheme, e.g. https://brave.com/Brave_mobile_speedtests_July.pdf.--upgrade-from-muon
flag on first launch or manually through Import)Actual result:
Pinned PDF tab is imported into b-c, but the opened (non-pinned) PDF tab is not.
Expected result:
Open tabs resolving to an external URL should be imported into brave-core, while open tabs resolving to an internal URL (about pages and PDFs) should not be imported into brave-core.
Reproduces how often:
easily
Brave version (brave://version info)
Reproducible on current release:
Website problems only:
Additional Information
cc @garrettr @bsclifton @rebron
The text was updated successfully, but these errors were encountered: