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

Unified Diff: third_party/WebKit/LayoutTests/netinfo/basic-operation.html

Issue 2863973003: Expose RTT and downlink bandwidth using experimental Javascript API (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: third_party/WebKit/LayoutTests/netinfo/basic-operation.html
diff --git a/third_party/WebKit/LayoutTests/netinfo/basic-operation.html b/third_party/WebKit/LayoutTests/netinfo/basic-operation.html
index df697b57d7fc2c4db5017e4a7f9b1c41f456c589..cb376def2818df45e829715f58109d9dc3b1f4f9 100644
--- a/third_party/WebKit/LayoutTests/netinfo/basic-operation.html
+++ b/third_party/WebKit/LayoutTests/netinfo/basic-operation.html
@@ -13,6 +13,8 @@ shouldBe('typeof window.internals.observeGC', '"function"',
shouldBeDefined("navigator.connection");
shouldBeDefined("navigator.connection.type");
shouldBeDefined("navigator.connection.downlinkMax");
+shouldBeDefined("navigator.connection.rtt");
+shouldBeDefined("navigator.connection.downlink");
var typeChangeListener = function(e) {
shouldBe("typeof connection.type", '"string"');

Powered by Google App Engine
This is Rietveld 408576698