Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Unified Diff: content/test/data/net_info.html

Issue 1306423004: [NetInfo] Browser changes to support connection.downlinkMax (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor browser test fix Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | net/base/network_change_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/net_info.html
diff --git a/content/test/data/net_info.html b/content/test/data/net_info.html
index 8e4368dc4cbfedaaeafb18737688500f6300ea82..aa3e5e1929f440b2636f699d4bb68d05592bd576 100644
--- a/content/test/data/net_info.html
+++ b/content/test/data/net_info.html
@@ -6,6 +6,10 @@ function getType() {
sendValueToTest(navigator.connection.type);
}
+function getDownlinkMax() {
+ sendValueToTest(navigator.connection.downlinkMax.toString());
+}
+
function getOnLine() {
sendValueToTest(navigator.onLine);
}
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | net/base/network_change_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698