mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
ad5f01ba04
Internally store .lastSync as a string but keep exposing set/getters as float values. parseFloat takes both strings and numbers and gives a number. --HG-- extra : rebase_source : b657dd3f732b9f3b3b0ef208ee53e799aa87d2c6
9 lines
226 B
JavaScript
9 lines
226 B
JavaScript
Cu.import("resource://weave/engines.js");
|
|
|
|
function run_test() {
|
|
// Make sure storing floats for lastSync stay as floats
|
|
let engine = new SyncEngine();
|
|
engine.lastSync = 123.45;
|
|
do_check_eq(engine.lastSync, 123.45);
|
|
}
|