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)

x86
Windows XP
defect

Tracking

()

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.
Could you attach a testcase to this bug?
>Could you attach a testcase to this bug? ? I did! See URL.
Blocks: 368160
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression, testcase
Version: unspecified → Trunk
After it stopped working the behaviour changed a few times over time.
Product: Firefox → Toolkit
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
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.
No idea; someone would have to step through exactly what "save" in the view-source window does....
I am able to reproduce this issue on Mozilla/5.0 (Windows NT 6.3; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.