+14
−0
+13
−27
Loading
Bug 1759881 - Part 7: Add a virtual method to get the module loader to use for the current global r=yulia,smaug This adds a virtual method to nsIGlobalObject and implements it for nsGlobalWindowInner and SandboxPrivate. This means we don't have to put the logic for dealing with all the different kinds of globals in once place. Differential Revision: https://phabricator.services.mozilla.com/D141733