Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review: https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 const Cc = Components.classes;
2 const Ci = Components.interfaces;
3
4 function run_test()
5 {
6 var p = Cc["@mozilla.org/hash-property-bag;1"].
7 createInstance(Ci.nsIWritablePropertyBag2);
8 p.setPropertyAsInt64("a", -4000);
9 do_check_neq(p.getPropertyAsUint64("a"), -4000);
10 }