| Index: third_party/WebKit/LayoutTests/netinfo/unregister-during-event.html
|
| diff --git a/third_party/WebKit/LayoutTests/netinfo/unregister-during-event.html b/third_party/WebKit/LayoutTests/netinfo/unregister-during-event.html
|
| index d5124dd701eec278dc1331a6979c96ed05f0c145..db30c9eee9b574263353e22cf96092b8a9752cf1 100644
|
| --- a/third_party/WebKit/LayoutTests/netinfo/unregister-during-event.html
|
| +++ b/third_party/WebKit/LayoutTests/netinfo/unregister-during-event.html
|
| @@ -14,6 +14,9 @@ shouldBe('typeof window.internals.observeGC', '"function"',
|
| var otherHandler = function(e) {
|
| shouldBe('connection.type', 'initialType');
|
| shouldBe('connection.downlinkMax', 'initialDownlinkMax');
|
| + shouldBe('connection.effectiveType', 'initialEffectiveType');
|
| + shouldBe('connection.rtt', 'initialRtt');
|
| + shouldBe('connection.downlink', 'initialDownlink');
|
|
|
| finishJSTest();
|
| };
|
| @@ -21,6 +24,9 @@ var otherHandler = function(e) {
|
| var handler = function(e) {
|
| shouldBe('connection.type', 'newConnectionType');
|
| shouldBe('connection.downlinkMax', 'newDownlinkMax');
|
| + shouldBe('connection.effectiveType', 'initialEffectiveType');
|
| + shouldBe('connection.rtt', 'initialRtt');
|
| + shouldBe('connection.downlink', 'initialDownlink');
|
| connection.removeEventListener('change', handler);
|
| connection.addEventListener('change', otherHandler);
|
| internals.setNetworkConnectionInfoOverride(isTypeOnline(initialType), initialType, initialDownlinkMax);
|
|
|