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

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

Issue 2883763002: Expose ECT to render frames, Blink and NetInfo (Closed)
Patch Set: rebased Created 3 years, 7 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 0bf6d0c888c6e21be378bded0c432e94128fff11..58f4702d5ac8f9c584df39991a6eb55ec932f2c8 100644
--- a/content/test/data/net_info.html
+++ b/content/test/data/net_info.html
@@ -14,6 +14,10 @@ function getOnLine() {
sendValueToTest(navigator.onLine);
}
+function getEffectiveType() {
+ sendValueToTest(navigator.connection.effectiveType);
+}
+
function getRtt() {
sendValueToTest(navigator.connection.rtt.toString());
}

Powered by Google App Engine
This is Rietveld 408576698