Hi, Would it be reasonable to remove nsITimer.TYPE_REPEATING_PRECISE?
The docs for it say "Use this timer type with extreme caution. Chances are, this is not what you want." https://bugzilla.mozilla.org/show_bug.cgi?id=650379 introduced nsITimer.TYPE_REPEATING_PRECISE_CAN_SKIP as a safer alternative. That bug also converted all uses of TYPE_REPEATING_PRECISE in the tree to TYPE_REPEATING_PRECISE_CAN_SKIP. Since then, one use of TYPE_REPEATING_PRECISE has been added to the tree relating to network stats (https://dxr.mozilla.org/mozilla-central/source/dom/network/NetworkStatsService.jsm#130). It's exposed via IDL so add-ons might use it, but falling back to nsITimer.TYPE_REPEATING_PRECISE_CAN_SKIP might be a reasonable thing to do. Thoughts? Nick _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform