Mozilla/mozilla/docshell/test/bug413310-post.sjs
bzbarsky%mit.edu 7022e7f978 Fix longstanding issue where anchor scrolls on a POST result page could lead to
a silent re-POST during history traversal.  Bug 413310, r+sr=biesi,
a=dsicore,beltzner,righteousness.


git-svn-id: svn://10.0.0.236/trunk@246774 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-29 04:21:39 +00:00

8 lines
233 B
JavaScript

function handleRequest(request, response) {
response.setHeader("Content-Type", "text/html");
response.write("<body onload='window.parent.onloadCount++'>" +
request.method + " " +
Date.now() +
"</body>");
}