gecko-dev/docshell/test/navigation/file_fragment_handling_duri...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 строки
452 B
Plaintext
Исходник Обычный вид История

/* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */
/* vim: set sts=2 sw=2 et tw=80 ft=javascript: */
"use strict";
function handleRequest(request, response) {
response.setHeader("Content-Type", "text/html", false);
response.setHeader("Cache-Control", "no-cache", false);
// Wait a bit.
var s = Date.now();
while (Date.now() - s < 1000);
response.write(`<!DOCTYPE HTML>
<html>
<body>
bar
</body>
</html>
`);
}