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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.idl

Issue 2903493002: NetInfo network quality extension: Add callbacks and Layout tests (Closed)
Patch Set: ps 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/Source/core/testing/Internals.idl
diff --git a/third_party/WebKit/Source/core/testing/Internals.idl b/third_party/WebKit/Source/core/testing/Internals.idl
index 5004e3ab8c68bec36236fcb2012b7e36e071eed9..d007775cafce594e26eb17153624235eaa546996 100644
--- a/third_party/WebKit/Source/core/testing/Internals.idl
+++ b/third_party/WebKit/Source/core/testing/Internals.idl
@@ -314,6 +314,7 @@
// These functions are for testing NetInfo. You must call clearNetworkConnectionInfoOverride() at the end.
[RaisesException] void setNetworkConnectionInfoOverride(boolean onLine, DOMString type, double downlinkMaxMbps);
+ [RaisesException] void setNetworkQualityInfoOverride(DOMString effective_type, unsigned long transport_rtt_msec, double downlink_throughput_mbps);
dcheng 2017/05/27 08:47:47 Out of curiosity, is it possible to use enums in t
tbansal1 2017/05/28 04:32:16 I did try, but it gave a compilation error. That
haraken 2017/05/29 01:08:14 Do you have the compile error? We should use an en
tbansal1 2017/05/29 04:45:22 When I build webkit tests, I get this: gen/blink/b
tbansal1 2017/05/29 04:53:29 Is it possible to generate the binding only for te
bashi 2017/05/29 10:43:32 Could you elaborate how you defined EffectiveConne
tbansal1 2017/05/31 04:16:02 I replied elsewhere in the CL, but this is where E
tbansal1 2017/06/02 01:24:31 Done. Thanks for the help!!
void clearNetworkConnectionInfoOverride();
// This function is for testing HitRegions on Canvas2D.

Powered by Google App Engine
This is Rietveld 408576698