Closed
Bug 253507
Opened 22 years ago
Closed 22 years ago
Stored web page's images doesn't appears in offline mode
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: serzholino, Assigned: bzbarsky)
Details
Attachments
(3 files)
|
130.14 KB,
application/x-gzip
|
Details | |
|
205 bytes,
text/html
|
Details | |
|
1.79 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
I saved web page using "save web page complete", then went to "work offline"
mode and tried t open this saved page. almost all images from this page didn't
appear.
When i searched stored file for url ot this images, they was local
<img src="biser_files/strek_01.jpg" alt="Стрекоза"
_base_href="http://win.mail.ru/cgi-bin/readmsg" border="1" height="345"
width="300"></center>
but when i selected "copy image location" they give this url
http://win.mail.ru/cgi-bin/biser_files/strek_01.jpg
P.S. Then i tried to open this in IE in offline mode, awerything was ok
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 2•22 years ago
|
||
I don't know about such an attribute, but Mozilla seems to support the
_base_href attribute.
See this testcase link. In Mozilla it will take you to google. In Opera and IE
you're staying at the same page.
| Assignee | ||
Updated•22 years ago
|
Attachment #154629 -
Attachment mime type: text/html → application/x-gzip
| Assignee | ||
Comment 3•22 years ago
|
||
Serzh, can you point to a particular site that shows this problem so that a
potential fix could be tested?
| Assignee | ||
Comment 4•22 years ago
|
||
| Assignee | ||
Comment 5•22 years ago
|
||
Comment on attachment 154790 [details] [diff] [review]
Proposed patch
jst, what do you think? The other possibility is to hack the HTML content sink
to ignore the _base_href attribute coming from the parser... but that seems
rather uncalled-for.
Attachment #154790 -
Flags: superreview?(jst)
Attachment #154790 -
Flags: review?(jst)
(In reply to comment #3)
> Serzh, can you point to a particular site that shows this problem so that a
> potential fix could be tested?
This is public e-mail server www.mail.ru. I was seeng HTML letter in his
web-interface and then saved page with this letter. Saved page i attached packed
in gzip format. Why do you need web-site? Do you think that Firefox not properly
saved this page. IMHO, page saved ok, but Firefox cannot properly display it...
In IE this saved page is ok.
| Assignee | ||
Comment 7•22 years ago
|
||
> Do you think that Firefox not properly saved this page.
I don't just think it, I know it. The proposed patch is a patch to the code
that saves pages to make it not screw up the page as it saves it.
Comment 8•22 years ago
|
||
Comment on attachment 154790 [details] [diff] [review]
Proposed patch
Seems reasonable. r+sr=jst
Attachment #154790 -
Flags: superreview?(jst)
Attachment #154790 -
Flags: superreview+
Attachment #154790 -
Flags: review?(jst)
Attachment #154790 -
Flags: review+
| Assignee | ||
Updated•22 years ago
|
Assignee: firefox → bzbarsky
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 9•22 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 10•22 years ago
|
||
On trunk for 1.8a3, to be precise.
You need to log in
before you can comment on or make changes to this bug.
Description
•