1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 [JSImplementation="@mozilla.org/networkstatsalarm;1",
7 CheckPermissions="networkstats-manage",
8 Pref="dom.mozNetworkStats.enabled"]
9 interface MozNetworkStatsAlarm {
10 readonly attribute unsigned long alarmId;
11 readonly attribute MozNetworkStatsInterface network;
12 readonly attribute long threshold;
13 readonly attribute any data;