diff --git a/js/xpconnect/tests/unit/test_bug811343.js b/js/xpconnect/tests/unit/test_bug811343.js new file mode 100644 index 000000000000..3da49395bc78 --- /dev/null +++ b/js/xpconnect/tests/unit/test_bug811343.js @@ -0,0 +1,8 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +function run_test() { + var p = new Proxy(Object.create(null), {}); + var g = Components.utils.getGlobalForObject(p); +}