mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 784575 - Part 3: NetworkStats API IDL Modification. r=gene, sr=sicking
This commit is contained in:
parent
461f94a2a6
commit
db79dbfdc9
@ -12,8 +12,12 @@ dictionary NetworkStatsOptions
|
||||
* Connection type used to filter which network stats will be returned:
|
||||
* 'mobile', 'wifi' or null.
|
||||
* If null, stats for both mobile and wifi are returned.
|
||||
*
|
||||
* Manifest URL used to retrieve network stats per app.
|
||||
* If null, system stats (regardless of the app) are returned.
|
||||
*/
|
||||
DOMString connectionType;
|
||||
DOMString manifestURL;
|
||||
jsval start; // date
|
||||
jsval end; // date
|
||||
};
|
||||
@ -22,11 +26,13 @@ dictionary NetworkStatsOptions
|
||||
interface nsIDOMMozNetworkStatsManager : nsISupports
|
||||
{
|
||||
/**
|
||||
* Query network interface statistics.
|
||||
* Query network statistics.
|
||||
*
|
||||
* If options.connectionType is not provided, return statistics for all known
|
||||
* network interfaces.
|
||||
*
|
||||
* If options.manifestURL is not provided, return statistics regardless of the app.
|
||||
*
|
||||
* If successful, the request result will be an nsIDOMMozNetworkStats object.
|
||||
*
|
||||
* If network stats are not available for some dates, then rxBytes &
|
||||
|
Loading…
Reference in New Issue
Block a user