I would prefer if you instead patched [loadSandbox](https://github.com/ZER0/addon-sdk/blob/8bd8a646f2de241e0f369a1b4dec23554b65fe23/app-extension/bootstrap.js#L207) so that it would allow `require("chrome")` but threw on any other require.