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

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

Issue 2087293003: [DevTools] Network.emulateNetworkConditions now affects NetworkStateNotifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed review comments Created 4 years, 6 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 023bd48df95b6492e840e78db603ec560ebcc298..8bd6ebf01ce2881d065e99a63aec34dfaebafd7d 100644
--- a/third_party/WebKit/Source/core/testing/Internals.idl
+++ b/third_party/WebKit/Source/core/testing/Internals.idl
@@ -298,10 +298,9 @@
boolean ignoreLayoutWithPendingStylesheets(Document document);
- // These functions are for testing NetInfo. You must call setNetworkStateNotifierTestOnly(true)
- // before calling setNetworkConnectionInfo.
- void setNetworkStateNotifierTestOnly(boolean testOnly);
- [RaisesException] void setNetworkConnectionInfo(DOMString type, double downlinkMaxMbps);
+ // These functions are for testing NetInfo. You must call clearNetworkConnectionInfoOverride() at the end.
+ [RaisesException] void setNetworkConnectionInfoOverride(boolean onLine, DOMString type, double downlinkMaxMbps);
+ void clearNetworkConnectionInfoOverride();
// This function is for testing HitRegions on Canvas2D.
unsigned long countHitRegions(CanvasRenderingContext2D context);

Powered by Google App Engine
This is Rietveld 408576698