Closed Bug 226920 Opened 21 years ago Closed 21 years ago

File: Save Page As truncates javascript files

Categories

(SeaMonkey :: General, defect)

x86
Windows ME
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Ljean_richard, Unassigned)

References

()

Details

(Keywords: dataloss)

User-Agent:       Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.5) Gecko/20031007
Build Identifier: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.5) Gecko/20031007

The page http://www.ljr.ch/en/game2.html uses a javascript file named hanoi.js
logn 6596 bytes. If this page is saved locally with the File: Save Page As
option only the first 4096 bytes of the file hanoi.js are written to disk. I
guess the cause in a missing close in the relevant browser code.

Reproducible: Always

Steps to Reproduce:
1.Link to page
2.File: Save Page As
3.

Actual Results:  
hanoi.js long 4096 bytes

Expected Results:  
Saved a full copy of hanoi.js
WFM with 20031125, Windows XP. hanoi.js is complete and 6,348 bytes when saved.
Severity: normal → critical
Keywords: dataloss
WFM, Win2k 2003111415.  I get 6357 bytes, last lines:

	document.close()
	InitHanoi()
}
//	-----------------------------------

Looks okay to me
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5) Gecko/20031007
also working on latest nightly.

4096 bytes could be a cluster size, what does Properties of the file show?
Windows Explorer, Right-Click on File, Eigenschaften (Properties)
Größe: 6.20 KB, (6.357 Byte), 8.192 Byte belegt

Is there enough free disk space on your harddisk, in the temp folder, or the
Mozilla cache?
Can you reproduce this using another profile, or after clearing the cache?
I use several profiles and in order to limit cache space inflation I have set
three of them to share the same cache. After installation of Vers. 1.5 I made
some routine checks discovering this anomaly. The sharing of a cache between
several profiles did not cause apparently any problems with the previous
versions (?).
I have removed the sharing of the cache among profiles and the problem seems to
have disappeared. 
Thanks to all for the help!
Louis Jean-Richard
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
OS: Windows 98 → Windows ME
Resolution: --- → FIXED
I dont see any patch here.. will change this to WFM.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Also WFM for the reporter.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → WORKSFORME
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.