summaryrefslogtreecommitdiffstats
path: root/dom/xbl/test/file_bug481558css.sjs
blob: a44cb9c956c3b033a582f206ac09d64aed245bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function handleRequest(request, response)
{
  var query = {};
  request.queryString.split('&').forEach(function (val) {
    [name, value] = val.split('=');
    query[name] = unescape(value);
  });

  response.setHeader("Content-Type", "text/css", false);
  css = "#" + query.id + " { -moz-binding: url(\"";
  if (query.server) {
    css += "http://" + query.server + "/tests/dom/xbl/test/";
  }
  css += "file_bug481558.xbl#test\"); }";

  response.write(css);
}