blob: e6635d5293f9184b26da9b01a96711abc0a5e419 (
plain)
1
2
3
4
5
6
7
8
9
|
function run_test() {
var sb = new Cu.Sandbox('http://www.example.com',
{ wantGlobalProperties: ["CSS"] });
sb.equal = equal;
Cu.evalInSandbox('equal(CSS.escape("$"), "\\\\$");',
sb);
Cu.importGlobalProperties(["CSS"]);
Assert.equal(CSS.escape("$"), "\\$");
}
|