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)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: dan, Assigned: adamlock)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
2.88 KB,
patch
|
Brade
:
review+
rpotts
:
superreview+
|
Details | Diff | Splinter Review |
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.)
![]() |
||
Comment 1•23 years ago
|
||
Dan, what build are you using? A similar bug was recently fixed...
Reporter | ||
Comment 2•23 years ago
|
||
Currently, build 2002012403... but I update regularly, so I'll try a new build.
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 6•23 years ago
|
||
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.
Comment 9•23 years ago
|
||
Attachment #66754 -
Flags: superreview+
Assignee | ||
Comment 10•23 years ago
|
||
Fix is in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 11•23 years ago
|
||
vrfy fixed using 2002.03.13 comm bits on win2k, mac 10.1.3 and linux rh7.2.
thanks for the test case, Dan!
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•