-
Notifications
You must be signed in to change notification settings - Fork 972
Saving a document doesn't show correct origin #8698
Comments
@srirambv So, what should be expected behaviour? whole path of the file ? like |
what should be the origin in this scenario? Seems like it's the expected behaviour : https://github.com/brave/browser-laptop/blob/master/js/state/siteUtil.js#L800 |
It should show path like this to keeping it in line for all downloads. But for files downloaded from within the app we could skip it over. cc: @bbondy @bsclifton for thoughts |
Or can we have this in preference to disable the origin? Though it's good show the origin but as a user it doesn't much value (i think). @bbondy @bsclifton |
I am with you on disabling it since it doesn't have much value to me 😉 @kumarrishav |
@kumarrishav I can't think of any good reason we'd want to hide this. Because downloads can't always be trusted, showing the origin and download method (HTTP/HTTPS) is very important, IMO. Otherwise, all you know was that a download happened For local files, we could choose to show something different... like "Local file" or show the folder it was downloaded to cc: @diracdeltas for comment |
@bsclifton agree with you. So, question is what content we should show for local files (file:/// , blob:chrome-extension) |
FWIW, #8645 will allow us to load the PDF file directly instead of via a blob: URL, so that would partly solve the issue. |
we could just replace local URL origins (file:, blob:, data:, chrome-extension:, chrome: etc.) with |
Auditors: @bbondy, @alexwykoff Revert "Remove addEditBookmark.less" This reverts commit c1c4437. Revert "Add padding around showAllWrap button" This reverts commit 4a9e270. Revert "Shows notification caret on pinned tabs" This reverts commit f829362. Revert "unhide bitwarden password manager" This reverts commit fc52e8c. Revert "Saving a document doesn't show correct origin Fix #8698. Auditors @bsclifton @diracdeltas" This reverts commit 277074e. Revert "noscript exceptions from private tabs should not apply to regular tabs" This reverts commit d6516f7.
Test plan
#8786 (comment)
Did you search for similar issues before submitting this one?
Yes
Describe the issue you encountered:
Saving a document doesn't show correct origin
Platform (Win7, 8, 10? macOS? Linux distro?):
Alll
Brave Version (revision SHA):
Brave 0.15.1
rev ea5024d
Steps to reproduce:
ile:///
blob:chrome-extension
Actual result:
Saving a document doesn't show correct origin
Expected result:
Should show the correct origin for files
Will the steps above reproduce in a fresh profile? If not what other info can be added?
Yes
Is this an issue in the currently released version?
Yes but since origin was not shown before had gone unnoticed
Can this issue be consistently reproduced?
Yes
Extra QA steps:
1.
2.
3.
Screenshot if needed:
Any related issues:
Please change milestone if requried
The text was updated successfully, but these errors were encountered: