Closed Bug 122078 Opened 23 years ago Closed 23 years ago

Save as complete page sometimes stalls while saving framesets

Categories

(Core Graveyard :: File Handling, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dan, Assigned: adamlock)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

While trying to create a simple test case for bug 122077, I ran into this unrelated problem. When I try to use "Save Page" to save the complete page of this simple frameset, the action stalls with the "Saving" dialog showing. When I finally cancel the dialog, I see that the subdirectory structure to handle saving the different frames has been created, but no files have been saved in it. (This is different from the dialog hanging around on saving as plain text, since in that case when you dismiss the dialog the saving has in fact completed.)
Dan, what build are you using? A similar bug was recently fixed...
Currently, build 2002012403... but I update regularly, so I'll try a new build.
No, that's recent enough. :) Over to adamlock.
Assignee: law → adamlock
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch PatchSplinter Review
Reviews please? Patch is quite simple. I've added some code to count the number of persistable entries in the mURIMap rather than use the total so that the "non URIs to save" path is followed properly.
Bill or Boris, can you review this patch please? Thanks.
Keywords: review
Comment on attachment 66754 [details] [diff] [review] Patch r=brade
Attachment #66754 - Flags: review+
Seems like "urisToPersist" could be a data member, then EnumCountURIsToPersist could be merged with EnumPersistURIs and we'd only have to make one pass over the list. That would be of some negligible performance benefit, but I'm not sure it's a better or worse approach; just throwing it out there.
I could probably have done it in EnumPersistURIs, but I really need to know up-front whether there are URIs to persist so I know which path to take - state notifications and document saving done asynchronously via stream listeners, or directly. So I think it's clearer to do it this way a take a small performance hit.
Fix is in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
vrfy fixed using 2002.03.13 comm bits on win2k, mac 10.1.3 and linux rh7.2. thanks for the test case, Dan!
Status: RESOLVED → VERIFIED
Keywords: reviewtestcase
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: