| Index: third_party/WebKit/Source/core/testing/Internals.idl
|
| diff --git a/third_party/WebKit/Source/core/testing/Internals.idl b/third_party/WebKit/Source/core/testing/Internals.idl
|
| index 5004e3ab8c68bec36236fcb2012b7e36e071eed9..1ae807da6bad497498292af204a043265d6aae10 100644
|
| --- a/third_party/WebKit/Source/core/testing/Internals.idl
|
| +++ b/third_party/WebKit/Source/core/testing/Internals.idl
|
| @@ -24,6 +24,13 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| +enum EffectiveConnectionType {
|
| + "slow-2g",
|
| + "2g",
|
| + "3g",
|
| + "4g"
|
| +};
|
| +
|
| [
|
| DoNotCheckConstants,
|
| ] interface Internals {
|
| @@ -314,6 +321,7 @@
|
|
|
| // These functions are for testing NetInfo. You must call clearNetworkConnectionInfoOverride() at the end.
|
| [RaisesException] void setNetworkConnectionInfoOverride(boolean onLine, DOMString type, double downlinkMaxMbps);
|
| + [RaisesException] void setNetworkQualityInfoOverride(EffectiveConnectionType effective_type, unsigned long transport_rtt_msec, double downlink_throughput_mbps);
|
| void clearNetworkConnectionInfoOverride();
|
|
|
| // This function is for testing HitRegions on Canvas2D.
|
|
|