pjs/docshell/test/bug413310-post.sjs

8 строки
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>");
}