Open
Bug 441226
Opened 17 years ago
Updated 2 years ago
"Save" from "View Source" window attempts to load again from server
Categories
(Toolkit :: View Source, defect)
Tracking
()
NEW
People
(Reporter: jmsachs, Unassigned)
References
()
Details
(Keywords: regression, testcase)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
This is a new problem with FF3, not a problem with FF2. I am not sure if this bug has already been filed, there are a lot of "view source" bugs but it doesn't seem to match the ones I looked at in a quick search.
If I have a .html page "A" that generates a new window "B" via Javascript (vs. one that originates from a server), then the "URL" of the new window "B" is the same as the original web page "A", and:
1) If I choose "Save As" from window B, I get the HTML source of window A. (This has been the case in FF2 & is not what I am reporting)
2) If I choose "View Source" from window B, then Save As from the view source window, I get this message: "[filename] could not be saved, because the source file could not be read. Try again later, or contact the server administrator"
I use (2) to get around the issue of (1) when I am trying to save a copy of autogenerated windows. Please fix. :(
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•17 years ago
|
||
Could you attach a testcase to this bug?
Reporter | ||
Comment 2•17 years ago
|
||
>Could you attach a testcase to this bug?
? I did! See URL.
Comment 3•17 years ago
|
||
Sorry :).
Regression range (when it just stopped working):
http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=1169784900&maxdate=1169786519
Caused by Bug 368160 ?
Blocks: 368160
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression,
testcase
Version: unspecified → Trunk
Comment 4•17 years ago
|
||
After it stopped working the behaviour changed a few times over time.
Assignee | ||
Updated•16 years ago
|
Product: Firefox → Toolkit
Comment 5•14 years ago
|
||
I guess View Source isn't giving its cache key to the Save function?
Summary: cannot save "View source" contents from new window generated by scripts → "Save" from "View Source" window attempts to load again from server
Comment 6•14 years ago
|
||
I'm assuming the issue Tantek is seeing is the same as the original issue (which involved document.write / wysiwyg URLs). Maybe it's not, since the wysiwyg thing seems to kinda work now.
Comment 7•14 years ago
|
||
No idea; someone would have to step through exactly what "save" in the view-source window does....
Comment 8•9 years ago
|
||
I am able to reproduce this issue on Mozilla/5.0 (Windows NT 6.3; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•