Closed Bug 1279621 Opened 9 years ago Closed 6 years ago

Requesting a Very Large .sh Text File Over Public FTP Freezes Tab

Categories

(Core Graveyard :: Networking: FTP, defect, P5)

46 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1560699

People

(Reporter: u564464, Unassigned)

Details

(Whiteboard: [necko-would-take])

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0 Build ID: 20160516132345 Steps to reproduce: Requested the public FTP URL to a large .sh file , e.g. ftp://ftp.gmu.edu/mathematica/Mathematica_10.1.0_LINUX.sh It seems that for some FTP servers Firefox will correctly go straight to the download instead of trying to view a .sh file. Actual results: The browsing tab slows down and doesn't load , presumably because it is attempting to view the large .sh file as text in the browser instead of forcing it to download. Expected results: Firefox should have forced the file to download instead of attempting to view it in the browser if it is too large to load without freezing the tab.
Summary: Requesting a Large .sh File Over FTP Freezes Tab → Requesting a Very Large .sh File Over Public FTP Freezes Tab
Component: Untriaged → Networking: FTP
Product: Firefox → Core
From what I understand, comment 0 requests that we download files that are very large, instead of displaying them.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [necko-backlog]
I guess it doesn't necessarily need to force download for large text files , but there should be a check for the content size so that it doesn't consume enough memory to freeze the tab like it does with that example I gave. It wouldn't be a good idea to force downloading of ALL large files since some types , e.g. mp4, could be very large but also would be expected to be rendered through a plugin or in the browser.
Component: Networking: FTP → File Handling
Product: Core → Firefox
Summary: Requesting a Very Large .sh File Over Public FTP Freezes Tab → Requesting a Very Large .sh Text File Over Public FTP Freezes Tab
Component: File Handling → Networking: FTP
Product: Firefox → Core
Whiteboard: [necko-backlog] → [necko-would-take]
Priority: -- → P5

This will be fixed by bug 1560699.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.