mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1070944 - Part 1: MozNetworkStats WebIDL change. r=ehsan
This commit is contained in:
parent
2a69c8a3f7
commit
7a6cb650d3
@ -16,6 +16,13 @@ dictionary NetworkStatsGetOptions
|
||||
*/
|
||||
DOMString appManifestURL;
|
||||
DOMString serviceType;
|
||||
/**
|
||||
* If it is set as true, only the browsing traffic, which is generated from
|
||||
* the mozbrowser iframe element within an app, is returned in result.
|
||||
* If it is set as false or not set, the total traffic, which is generated
|
||||
* from both the mozapp and mozbrowser iframe elements, is returned.
|
||||
*/
|
||||
boolean browsingTrafficOnly;
|
||||
};
|
||||
|
||||
dictionary NetworkStatsAlarmOptions
|
||||
@ -35,6 +42,13 @@ interface MozNetworkStats {
|
||||
*/
|
||||
readonly attribute DOMString appManifestURL;
|
||||
|
||||
/**
|
||||
* True if this stats is the browsing traffic of an app (the traffic generated
|
||||
* by a mozbrowser iframe element).
|
||||
* Otherwise this stats represents the total traffic of an app.
|
||||
*/
|
||||
readonly attribute boolean browsingTrafficOnly;
|
||||
|
||||
/**
|
||||
* Service type is used to retrieve the corresponding "system-only" stats.
|
||||
* E.g., "Tethering", "OTA", etc.
|
||||
|
Loading…
Reference in New Issue
Block a user