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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js

Issue 2863973003: Expose RTT and downlink bandwidth using experimental Javascript API (Closed)
Patch Set: kinuko comments 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/fast/dom/Window/resources/window-property-collector.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js b/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js
index fd228a0a94ddf534a55eeb54a2f0000a00f6ff36..9cda6367c62ffc2f3ac09a464318360060b264cf 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js
+++ b/third_party/WebKit/LayoutTests/fast/dom/Window/resources/window-property-collector.js
@@ -46,6 +46,10 @@ function emitExpectedResult(path, expected)
return;
if (propertyPath == 'navigator.connection.downlinkMax')
return;
+ if (propertyPath == 'navigator.connection.rtt')
+ return;
+ if (propertyPath == 'navigator.connection.downlink')
+ return;
switch (propertyPath) {
case "location.href":

Powered by Google App Engine
This is Rietveld 408576698