mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
4d0ff5ac14
--HG-- extra : rebase_source : 6ef8c8ffcf8d9df0f6f9a0cdadd45f12564d7e37
18 lines
467 B
JavaScript
18 lines
467 B
JavaScript
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);
|
|
}
|