mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
11 lines
281 B
JavaScript
11 lines
281 B
JavaScript
|
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);
|
||
|
}
|