Bug 1839316: part 5) Guard the "fetchpriority" attribute behind a pref. r=kershaw...
[gecko.git] / docshell / test / chrome / test_docRedirect.sjs
blob4050eb06d76b127bffdc23bb8d7be3f7a21127d7
1 function handleRequest(request, response) {
2   response.setStatusLine(request.httpVersion, 301, "Moved Permanently");
3   // eslint-disable-next-line @microsoft/sdl/no-insecure-url
4   response.setHeader("Location", "http://example.org/");
5   response.write("Hello world!");