mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
18 lines
467 B
Plaintext
18 lines
467 B
Plaintext
|
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/content/xbl/test/";
|
||
|
}
|
||
|
css += "file_bug481558.xbl#test\"); }";
|
||
|
|
||
|
response.write(css);
|
||
|
}
|