mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-17 04:37:46 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
10
js/xpconnect/tests/unit/test_css.js
Normal file
10
js/xpconnect/tests/unit/test_css.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
function run_test() {
|
||||
var Cu = Components.utils;
|
||||
var sb = new Cu.Sandbox('http://www.example.com',
|
||||
{ wantGlobalProperties: ["CSS"] });
|
||||
sb.do_check_eq = do_check_eq;
|
||||
Cu.evalInSandbox('do_check_eq(CSS.escape("$"), "\\\\$");',
|
||||
sb);
|
||||
Cu.importGlobalProperties(["CSS"]);
|
||||
do_check_eq(CSS.escape("$"), "\\$");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue