mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
loadSubScript throws a string, without any stack/location. Consider all string exceptions as coming from loadSubScript and re-throw a real error object, coming with the stack of the require call. Also handle wrong require path with a more explicit error message. Differential Revision: https://phabricator.services.mozilla.com/D14139