Closed
Bug 155109
Opened 22 years ago
Closed 17 years ago
Save As Complete misplaces data: src
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: sciguyryan)
References
Details
(Keywords: testcase)
Attachments
(2 files)
244 bytes,
text/html
|
Details | |
1.05 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
Steps to reproduce: 1. Load the testcase. 2. Save As, select "Web Page, complete", and type "a222" as the filename. 3. Load the saved page. Result: the data: url in the iframe src is replaced by <iframe src="a222_files/.html"></iframe> and the iframe src is saved as a222_files/_001.html. Expected: either leave the iframe src as a data: url (preferred) or put the correct filename in the saved source.
Reporter | ||
Comment 1•22 years ago
|
||
Updated•22 years ago
|
QA Contact: sairuh → petersen
Assignee | ||
Comment 2•17 years ago
|
||
Patch v1. I'll do with what Jesse has said here, don't save the data: URI's. It could contain a HTML document for example but it could equally contain just about anything else. We don't save things like the javascript: URI's so why bother with the data URI's?
Assignee | ||
Comment 3•17 years ago
|
||
That's just my opinion. It seems like a lot of worth otherwise. We'll need to take the content type presented and generate a correct file extension and a name for the file is saved. It seems like unnecessary work when we could also claim that javascript URI's could be saved to .js files in the same way.
Comment 4•17 years ago
|
||
Comment on attachment 255343 [details] [diff] [review] Patch v1 Sure.
Attachment #255343 -
Flags: superreview+
Attachment #255343 -
Flags: review?(bzbarsky)
Attachment #255343 -
Flags: review+
Assignee | ||
Updated•17 years ago
|
Whiteboard: [checkin needed]
Comment 5•17 years ago
|
||
mozilla/embedding/components/webbrowserpersist/src/nsWebBrowserPersist.cpp 1.123
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite?
Keywords: testcase
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•