mozilla/bedrock — pull request #1137 by alexgibson (2013-08-07 09:26:44+00:00)
Title: [bug 896961] Small refactor for two global.js unit tests

Updates two if the initial global.js unit tests, removing the need for `__defineGetter__` (doesn't play nice with some Webkit versions, e.g. phantomJS).

Required a small change to the two corresponding global.js methods to make testing easier.