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

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

Issue 2929703003: NetInfo: Slight update to the default network quality value (Closed)
Patch Set: Created 3 years, 6 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
Index: content/test/data/net_info.html
diff --git a/content/test/data/net_info.html b/content/test/data/net_info.html
index 58f4702d5ac8f9c584df39991a6eb55ec932f2c8..1da26e47fc2fa371bb55e96c24450200dd98f283 100644
--- a/content/test/data/net_info.html
+++ b/content/test/data/net_info.html
@@ -7,7 +7,7 @@ function getType() {
}
function getDownlinkMax() {
- sendValueToTest(navigator.connection.downlinkMax.toString());
+ sendValueToTest(navigator.connection.downlinkMax);
}
function getOnLine() {
@@ -19,11 +19,11 @@ function getEffectiveType() {
}
function getRtt() {
- sendValueToTest(navigator.connection.rtt.toString());
+sendValueToTest(navigator.connection.rtt);
}
function getDownlink() {
- sendValueToTest(navigator.connection.downlink.toString());
+ sendValueToTest(navigator.connection.downlink);
}
function sendValueToTest(value) {
« no previous file with comments | « content/browser/net_info_browsertest.cc ('k') | third_party/WebKit/Source/modules/netinfo/NetworkInformation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698