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

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: 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/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 826e4c7871ece8912aec6fb17241305b983553a8..cd6e47cce4f88bfe4d3e0156b907a262c0037d2c 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
@@ -49,6 +49,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