5 ChromeUtils.defineESModuleGetters(lazy1, {
6 GetX: "resource://test/esm_lazy-1.sys.mjs",
11 ChromeUtils.defineESModuleGetters(lazy2, {
12 GetX: "resource://test/esm_lazy-1.sys.mjs",
17 lazy1.GetX; // delazify before import.
18 lazy2.GetX; // delazify before import.
20 const ns = ChromeUtils.importESModule("resource://test/esm_lazy-1.sys.mjs", {
24 const equal1 = ns.GetX == lazy1.GetX;
25 const equal2 = ns.GetX == lazy2.GetX;
27 postMessage({ equal1, equal2 });