summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/test_bug711404.js
blob: 77a5ce40a2e9b9d495862643effd9233dc07419c (plain)
1
2
3
4
5
6
7
8
9
10
const Cc = Components.classes;
const Ci = Components.interfaces;

function run_test()
{
  var p = Cc["@mozilla.org/hash-property-bag;1"].
          createInstance(Ci.nsIWritablePropertyBag2);
  p.setPropertyAsInt64("a", -4000);
  do_check_neq(p.getPropertyAsUint64("a"), -4000);
}