gecko-dev/dom/browser-element/mochitest/file_browserElement_Metachange.sjs
Andrea Marchesini 0c4368fac6 Bug 962626 - Browser API: mozmetachanged triggered when a meta element is added to the dom., r=ehsan
--HG--
rename : dom/browser-element/mochitest/test_browserElement_inproc_Iconchange.html => dom/browser-element/mochitest/test_browserElement_inproc_Metachange.html
rename : dom/browser-element/mochitest/test_browserElement_oop_Iconchange.html => dom/browser-element/mochitest/test_browserElement_oop_Metachange.html
2014-01-30 09:31:34 -08:00

8 lines
320 B
JavaScript

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>');
}