Index: content/test/data/net_info.html |
diff --git a/content/test/data/net_info.html b/content/test/data/net_info.html |
index aa3e5e1929f440b2636f699d4bb68d05592bd576..0bf6d0c888c6e21be378bded0c432e94128fff11 100644 |
--- a/content/test/data/net_info.html |
+++ b/content/test/data/net_info.html |
@@ -14,6 +14,14 @@ function getOnLine() { |
sendValueToTest(navigator.onLine); |
} |
+function getRtt() { |
+ sendValueToTest(navigator.connection.rtt.toString()); |
+} |
+ |
+function getDownlink() { |
+ sendValueToTest(navigator.connection.downlink.toString()); |
+} |
+ |
function sendValueToTest(value) { |
window.domAutomationController.setAutomationId(0); |
window.domAutomationController.send(value); |