summaryrefslogtreecommitdiffstats
path: root/dom/browser-element/mochitest/file_browserElement_Metachange.sjs
blob: c63a047f7d2312c4e98cdd432bfa54eb7834367c (plain)
1
2
3
4
5
6
7
function handleRequest(request, response)
{
  var p = request.queryString.split('|');
  response.setHeader('Content-Language', p[0], false);
  response.write('<html><head><meta name="application-name" content="sjs"' +
                  (p.length > 1 ? (' lang="' + p[1] + '"') : '') + '></head><body></body></html>');
}