Index: Source/core/testing/Internals.idl |
diff --git a/Source/core/testing/Internals.idl b/Source/core/testing/Internals.idl |
index 2823deb07976556c7b5bbb7b495f6bdfb4bf78e1..b3cc2104e3a592ead58ae771e28e7a70fcd20b96 100644 |
--- a/Source/core/testing/Internals.idl |
+++ b/Source/core/testing/Internals.idl |
@@ -276,5 +276,8 @@ |
void setFocused(boolean focused); |
+ // These functions are for testing NetInfo. You must call setNetworkStateNotifierTestOnly(true) |
+ // before calling setNetworkConnectionInfo. |
+ void setNetworkStateNotifierTestOnly(boolean testOnly); |
[RaisesException] void setNetworkConnectionInfo(DOMString type); |
}; |