mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 04:26:32 +08:00
[Underscore Migration] Migrate NetworkManager
This patch is part of the underscore migration that adds the private keyword to all properties that start with an underscore and removes the underscore. Bug:chromium:1207342 Change-Id: I92fc31dc97471f4d6386cb2c193f6f2600d73719 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3075381 Commit-Queue: Jan Scheffler <janscheffler@chromium.org> Auto-Submit: Jan Scheffler <janscheffler@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
This commit is contained in:
committed by
Devtools-frontend LUCI CQ
parent
e863836967
commit
4ada331a50
+6
-6
@@ -402,7 +402,7 @@
|
||||
test.releaseControl();
|
||||
}
|
||||
|
||||
this.addSniffer(SDK.NetworkDispatcher.prototype, '_finishNetworkRequest', finishRequest);
|
||||
this.addSniffer(SDK.NetworkDispatcher.prototype, 'finishNetworkRequest', finishRequest);
|
||||
|
||||
// Reload inspected page to sniff network events
|
||||
test.evaluateInConsole_('window.location.reload(true);', function(resultText) {});
|
||||
@@ -421,7 +421,7 @@
|
||||
test.releaseControl();
|
||||
}
|
||||
|
||||
this.addSniffer(SDK.NetworkDispatcher.prototype, '_finishNetworkRequest', finishRequest);
|
||||
this.addSniffer(SDK.NetworkDispatcher.prototype, 'finishNetworkRequest', finishRequest);
|
||||
|
||||
// Send synchronous XHR to sniff network events
|
||||
test.evaluateInConsole_(
|
||||
@@ -446,7 +446,7 @@
|
||||
test.releaseControl();
|
||||
}
|
||||
|
||||
this.addSniffer(SDK.NetworkDispatcher.prototype, '_finishNetworkRequest', finishRequest);
|
||||
this.addSniffer(SDK.NetworkDispatcher.prototype, 'finishNetworkRequest', finishRequest);
|
||||
|
||||
// Reload inspected page to sniff network events
|
||||
test.evaluateInConsole_('window.location.reload(true);', function(resultText) {});
|
||||
@@ -481,7 +481,7 @@
|
||||
test.releaseControl();
|
||||
}
|
||||
|
||||
this.addSniffer(SDK.NetworkDispatcher.prototype, '_finishNetworkRequest', finishRequest);
|
||||
this.addSniffer(SDK.NetworkDispatcher.prototype, 'finishNetworkRequest', finishRequest);
|
||||
|
||||
// Reload inspected page to sniff network events
|
||||
test.evaluateInConsole_('window.location.reload(true);', function(resultText) {});
|
||||
@@ -514,7 +514,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
this.addSniffer(SDK.NetworkDispatcher.prototype, '_finishNetworkRequest', finishRequest, true);
|
||||
this.addSniffer(SDK.NetworkDispatcher.prototype, 'finishNetworkRequest', finishRequest, true);
|
||||
|
||||
test.evaluateInConsole_('addImage(\'' + url + '\')', function(resultText) {});
|
||||
test.evaluateInConsole_('addImage(\'' + url + '?pushUseNullEndTime\')', function(resultText) {});
|
||||
@@ -886,7 +886,7 @@
|
||||
test.releaseControl();
|
||||
}
|
||||
|
||||
this.addSniffer(SDK.NetworkDispatcher.prototype, '_finishNetworkRequest', finishRequest);
|
||||
this.addSniffer(SDK.NetworkDispatcher.prototype, 'finishNetworkRequest', finishRequest);
|
||||
|
||||
// Allow more time for this test as it needs to reload the inspected page.
|
||||
test.takeControl({slownessFactor: 10});
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user