fune/browser/base/content/test/contextMenu/bug1798178.sjs
Sean Feng 1568f73f70 Bug 1798178 - Allow ORB ignores save link downloads r=necko-reviewers,valentin
There's no point of blocking requests that users want to download,
and these requests are only being handled the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D160845
2022-11-01 21:39:15 +00:00

9 lines
397 B
JavaScript

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
function handleRequest(request, response) {
response.setHeader("Content-Type", "text/plain", false);
response.setHeader("X-Content-Type-Options", "nosniff");
response.write("Hello");
}