saveHelper fails completely if network request does not hit onStartRequest (sends headers) within the timeout
Categories
(Firefox :: Menus, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | unaffected |
firefox136 | --- | wontfix |
firefox137 | --- | verified |
firefox138 | --- | verified |
People
(Reporter: Gijs, Assigned: Gijs)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
STR:
- Set
browser.download.saveLinkAsFilenameTimeout
to something small, like 300 - Go to any page with a video, e.g. https://bugs.kde.org/attachment.cgi?id=175313 .
- right click and click "save video as"
ER:
file save dialog
AR:
error in browser console:
TypeError: can't access property "saveURL", this.window is undefined
saveLinkAs_onStopRequest chrome://browser/content/nsContextMenu.sys.mjs:2027
Assignee | ||
Comment 1•1 month ago
|
||
I found this through the report in bug 1952672 which reported slowness. Obviously it sometimes not working at all is not helping with this, though equally I think probably there is more going on that we could do to make the UI more responsive.
Comment 2•1 month ago
|
||
Set release status flags based on info from the regressing bug 1895563
:niklas, since you are the author of the regressor, bug 1895563, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Assignee | ||
Comment 3•1 month ago
|
||
Updated•1 month ago
|
Assignee | ||
Updated•1 month ago
|
Updated•1 month ago
|
Assignee | ||
Comment 6•1 month ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D241894
Updated•1 month ago
|
Comment 7•1 month ago
|
||
beta Uplift Approval Request
- User impact if declined: Broken link/video/audio/image saving in some cases
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: see comment 0
- Risk associated with taking this patch: Low
- Explanation of risk level: 1-character typo fix, with automated test
- String changes made/needed: No
- Is Android affected?: no
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 9•1 month ago
|
||
I was able to reproduce the issue on an affected Nightly build from 2025-03-17 on Windows 11.
After verifying the fix on the latest Nightly 138.0a1 (20250319204742) and Beta 137.0b8 (20250319094417), I can confirm that the issue has been resolved on Windows 11, MacOS 11 and Ubuntu 22.
The "Save Video As" functionality now works correctly, even when the network request does not trigger onStartRequest within the timeout. No errors were observed, and the file save dialog appears as expected when attempting to save the video.
I am closing this as VERIFIED FIXED.
Description
•