mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
12 lines
383 B
JavaScript
12 lines
383 B
JavaScript
Cu.import("resource://services-sync/util.js");
|
|
Cu.import("resource://services-sync/ext/StringBundle.js");
|
|
|
|
function run_test() {
|
|
let fn = Utils.lazyStrings("sync");
|
|
do_check_eq(typeof fn, "function");
|
|
let bundle = fn();
|
|
do_check_true(bundle instanceof StringBundle);
|
|
let url = bundle.url;
|
|
do_check_eq(url, "chrome://weave/locale/services/sync.properties");
|
|
}
|