summaryrefslogtreecommitdiffstats
path: root/devtools/shared/tests/xpcshell/exposeLoader.js
blob: 7c8acdd75945b6b192571d061d92d600df5b23f3 (plain)
1
2
3
4
5
6
7
8
9
10
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

exports.exerciseLazyRequire = (name, path) => {
  const o = {};
  loader.lazyRequireGetter(o, name, path);
  return o;
};