Fix getDeviceStates API to return unique interface types |
|||||||||
Issue descriptionhttps://cs.corp.google.com/chromeos_public/src/third_party/autotest/files/client/cros/networking/chrome_testing/network_test_ext/background.js?l=45 "getEnabledNetworkDevices" (getDeviceStates vs. getEnabledNetworkTypes) returns an extra 'ethernet' value. See below: ========================== AFTER CHANGE (returns 'ethernet' twice) ========================== 01/06 14:48:45.326 DEBUG|inspector_websocke:0097| sent [{ "id": 9, "method": "Runtime.evaluate", "params": { "expression": "chromeTesting.networking.callStatus.getEnabledNetworkDevices", "returnByValue": true } }] 01/06 14:48:45.326 DEBUG|inspector_websocke:0164| got [{ "id": 9, "result": { "result": { "type": "object", "value": { "error": null, "result": [ "Ethernet", "WiFi", "Ethernet" ], "status": "chrome-test-call-status-success" } } } }] 01/06 14:48:45.326 INFO |chrome_networking_:0059| Enabled Network Devices: [u'Ethernet', u'WiFi', u'Ethernet'] ========================== BEFORE CHANGE ========================== 01/06 14:57:58.249 DEBUG|inspector_websocke:0097| sent [{ "id": 9, "method": "Runtime.evaluate", "params": { "expression": "chromeTesting.networking.callStatus.getEnabledNetworkDevices", "returnByValue": true } }] 01/06 14:57:58.250 DEBUG|inspector_websocke:0164| got [{ "id": 9, "result": { "result": { "type": "object", "value": { "error": null, "result": [ "Ethernet", "WiFi" ], "status": "chrome-test-call-status-success" } } } }] 01/06 14:57:58.250 INFO |chrome_networking_:0059| Enabled Network Devices: [u'Ethernet', u'WiFi']
,
Jan 11 2017
Change of API. We switched from using getEnabledNetworkTypes to getDeviceStates.
,
Jan 13 2017
Untriaged bug with OWNER -> Assigned
,
Jan 13 2017
untriaged w/ owner -> assigned
,
Feb 16 2017
,
Apr 13 2017
,
Apr 27 2017
,
May 25 2017
,
Jun 26 2017
,
Oct 3 2017
,
Mar 8 2018
|
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by achuith@chromium.org
, Jan 11 2017