js/xpconnect/tests/unit/test_bug711404.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/xpconnect/tests/unit/test_bug711404.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +const Cc = Components.classes;
     1.5 +const Ci = Components.interfaces;
     1.6 +
     1.7 +function run_test()
     1.8 +{
     1.9 +  var p = Cc["@mozilla.org/hash-property-bag;1"].
    1.10 +          createInstance(Ci.nsIWritablePropertyBag2);
    1.11 +  p.setPropertyAsInt64("a", -4000);
    1.12 +  do_check_neq(p.getPropertyAsUint64("a"), -4000);
    1.13 +}

mercurial