Closed Bug 206531 Opened 21 years ago Closed 6 years ago

javascript: URLs need wyciwyg: caching and reload semantics

Categories

(Core :: DOM: Core & HTML, defect, P5)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: brendan, Unassigned)

References

(Blocks 1 open bug)

Details

A document generated by a javascript: URL is just like one generated via document.write. The generating script shouldn't rerun on a reload, rather the last generated page should be fetched from the cache via the wyciwyg: URL used to capture the last generation. The wyciwyg stuff seems tied into the content/html world. How should dom/src/jsurl code partake of it? It would be good to fix this in 1.5. /be
perhaps the wyciwyg protocol handler could be moved to a more generic location. then it wouldn't be very difficult to use here/elsewhere. it is pretty generic stuff. there is only a little bit of code in nsHTMLDocument for talking to it. maybe we should move it into docshell since it is related to session history? (xpfe/components/shistory should also be in docshell/)
Blocks: 282018
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.8b2) Gecko/20050318 Confirmed this is still an issue in present build.
Assignee: general → nobody
QA Contact: ashshbhatt → general
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5

FWIW, wyciwyg is being removed in bug 1489308.

Boris, should this be WONTFIX? It seems like if we aren't caching document.write, we wouldn't want to cache this either?

Flags: needinfo?(bzbarsky)

Yeah, this is wontfix. Bug 836567 will make it so reloading a javascript: URL is just complete nonsense, but since that's what all other browsers and the spec do...

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(bzbarsky)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.