]> git.gir.st - VimFx.git/commit
Fix global variable leaks in frame scripts
authorSimon Lydell <simon.lydell@gmail.com>
Tue, 3 Nov 2015 18:46:49 +0000 (19:46 +0100)
committerSimon Lydell <simon.lydell@gmail.com>
Tue, 3 Nov 2015 18:46:49 +0000 (19:46 +0100)
commite3b5f29ff2535bedf6b42e220f24ef50f509fdc1
tree8ab2827c8441af654e33394d42795209467d2b2b
parent1124c5f799bda94c2a53c9efeadcf9c1953a11cf
Fix global variable leaks in frame scripts

Apparently, frame scripts for the same `<browser>` but from different add-ons
share the same scope. Previously, bootstrap.coffee used to set up a few global
variables. However, those were then leaked to other add-ons in frame scripts.
Now they are explicitly set in the `scope` of each `require`d module instead.
extension/bootstrap.coffee
Imprint / Impressum