summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/test_bug1033920.js
blob: dc3834ecb8e9a507db1facd334da141c7ee32db8 (plain)
1
2
3
4
5
6
7
const Cu = Components.utils;
function run_test() {
  var sb = Cu.Sandbox('http://www.example.com');
  var o = new sb.Object();
  o.__proto__ = null;
  do_check_eq(Object.getPrototypeOf(o), null);
}