blob: 7b976de00ccdeecd267e7d4c9e816af003d39b33 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
ImplementedAs=InternalsNetInfo
] partial interface Internals {
// You must call clearNetworkConnectionInfoOverride() at the end.
[RaisesException] void setNetworkConnectionInfoOverride(boolean onLine, DOMString type, EffectiveConnectionType effective_type, unsigned long http_rtt_msec, double downlink_max_mbps);
void setSaveDataEnabled(boolean enabled);
void clearNetworkConnectionInfoOverride();
};