Commit 993a3910 authored by Tarun Bansal's avatar Tarun Bansal Committed by Commit Bot

Remove the flags for NetInfo JavaScript APIs.

The NetInfo network quality attributes have been enabled
since M-61. NetInfo saveData attribute has been enabled
since M-65.

Change-Id: Ie4b005834e92180d080391ea7d00f4e57c8c5df3
Bug: 723068,772566
Reviewed-on: https://chromium-review.googlesource.com/1172087Reviewed-by: default avatarKinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Tarun Bansal <tbansal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582849}
parent 8ab077ad
...@@ -31,10 +31,10 @@ typedef unsigned long long Milliseconds; ...@@ -31,10 +31,10 @@ typedef unsigned long long Milliseconds;
] interface NetworkInformation : EventTarget { ] interface NetworkInformation : EventTarget {
[RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoType] readonly attribute ConnectionType type; [RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoType] readonly attribute ConnectionType type;
[RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoDownlinkMax] readonly attribute Megabit downlinkMax; [RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoDownlinkMax] readonly attribute Megabit downlinkMax;
[RuntimeEnabled=NetInfoEffectiveType, MeasureAs=NetInfoOnChange] attribute EventHandler onchange; [MeasureAs=NetInfoOnChange] attribute EventHandler onchange;
[RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoOnTypeChange] attribute EventHandler ontypechange; [RuntimeEnabled=NetInfoDownlinkMax, MeasureAs=NetInfoOnTypeChange] attribute EventHandler ontypechange;
[RuntimeEnabled=NetInfoEffectiveType, MeasureAs=NetInfoEffectiveType] readonly attribute EffectiveConnectionType effectiveType; [MeasureAs=NetInfoEffectiveType] readonly attribute EffectiveConnectionType effectiveType;
[RuntimeEnabled=NetInfoRtt, MeasureAs=NetInfoRtt] readonly attribute Milliseconds rtt; [MeasureAs=NetInfoRtt] readonly attribute Milliseconds rtt;
[RuntimeEnabled=NetInfoDownlink, MeasureAs=NetInfoDownlink] readonly attribute Megabit downlink; [MeasureAs=NetInfoDownlink] readonly attribute Megabit downlink;
[RuntimeEnabled=NetInfoSaveData, MeasureAs=NetInfoSaveData] readonly attribute boolean saveData; [MeasureAs=NetInfoSaveData] readonly attribute boolean saveData;
}; };
...@@ -768,10 +768,6 @@ ...@@ -768,10 +768,6 @@
name: "NestedWorkers", name: "NestedWorkers",
status: "stable", status: "stable",
}, },
{
name: "NetInfoDownlink",
status: "stable",
},
{ {
name: "NetInfoDownlinkHeader", name: "NetInfoDownlinkHeader",
status: "stable", status: "stable",
...@@ -780,26 +776,14 @@ ...@@ -780,26 +776,14 @@
name: "NetInfoDownlinkMax", name: "NetInfoDownlinkMax",
status: "stable", status: "stable",
}, },
{
name: "NetInfoEffectiveType",
status: "stable",
},
{ {
name: "NetInfoEffectiveTypeHeader", name: "NetInfoEffectiveTypeHeader",
status: "stable", status: "stable",
}, },
{
name: "NetInfoRtt",
status: "stable",
},
{ {
name: "NetInfoRttHeader", name: "NetInfoRttHeader",
status: "stable", status: "stable",
}, },
{
name: "NetInfoSaveData",
status: "stable",
},
{ {
name: "NetworkService", name: "NetworkService",
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment