michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: * http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: michael@0: Cu.import("resource://services-common/stringbundle.js"); michael@0: Cu.import("resource://services-sync/util.js"); michael@0: michael@0: function run_test() { michael@0: let fn = Utils.lazyStrings("sync"); michael@0: do_check_eq(typeof fn, "function"); michael@0: let bundle = fn(); michael@0: do_check_true(bundle instanceof StringBundle); michael@0: let url = bundle.url; michael@0: do_check_eq(url, "chrome://weave/locale/services/sync.properties"); michael@0: }